---

** [tickets:#155] start-directory option (-c) not working**

**Status:** open
**Created:** Wed Sep 03, 2014 01:32 PM UTC by Alex Villa
**Last Updated:** Wed Sep 03, 2014 01:32 PM UTC
**Owner:** nobody

Hey there,

I've been using tmux successfully for the last year but recently switched from 
Ubuntu to OSX with a few bumps. For reference, I'm using:
iterm2
tmux 1.9a
OSX 10.9.3

Replicating the problem:
I edit `~/.tmux.conf` to include:

    bind \ split-window -h -c '#{pane_current_path}'
    bind | split-window -c '#{pane_current_path}'
    bind c new-window -c '#{pane_current_path}'

I cd into a different directory than my shell default directory.
I run `tmux`
I'm in my shell's default directory and not the directory I had cd'd into.

I've tried a variety of solutions, including changing `pane_current_path` to 
$PWD. At the moment, I can't even get tmux to open a new pane in a different 
directory outside of the configuration file. When I run:

    $ tmux split-window -c '#{pane_current_path}'

It just opens in the default directory.

Here is my tmux config file as of now: 
https://gist.github.com/GolfyMcG/fef71be236626c74e64c

Thank you in advance for the help!



Thank you for the help in advance.



---

Sent from sourceforge.net because tmux-users@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/tmux/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/tmux/admin/tickets/options.  Or, if this is a mailing 
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to