Re: if-shell and default-shell

2012-09-09 Thread Samer Atiani
Thanks Chris, I used your proposed solution of creating an alternative config file for use by tmux on OS X. On Wed, Sep 5, 2012 at 6:02 AM, Chris Johnsen wrote: > On Tue, Sep 4, 2012 at 6:02 PM, Samer Atiani wrote: > > I have the following line in my .tmux.conf: > > > > if-shell 'test `uname` ==

Re: if-shell and default-shell

2012-09-05 Thread Chris Johnsen
On Tue, Sep 4, 2012 at 6:02 PM, Samer Atiani wrote: > I have the following line in my .tmux.conf: > > if-shell 'test `uname` == "Darwin"' 'set-option -g default-command > "reattach-to-user-namespace -l zsh"' ... > However, this seems to only take effect > on the second window created in tmux, not

if-shell and default-shell

2012-09-05 Thread Samer Atiani
I have the following line in my .tmux.conf: if-shell 'test `uname` == "Darwin"' 'set-option -g default-command "reattach-to-user-namespace -l zsh"' Which is designed to make tmux wrap zsh with reattach-to-user-namespace (see more about it here: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboa