You can probably do somethine like this instead:
(cd ~/tmp;  CSE=1 tmux new-session -d -s misc -n context '/bin/bash -l')

On Tue, Mar 19, 2013 at 8:02 AM, Vladimir Lomov <lomov...@gmail.com> wrote:
> Hello,
>
> I experience some problem with 'git://git.code.sf.net/p/tmux/tmux-code'
> git repository, 'tmux' compiled from that repository doesn't accept[*]
> shell command like 'cd ~/tmp ; /bin/bash -l' for new-window or
> new-session commands, while 'tmux' compiled from git repository
> 'git://tmux.git.sourceforge.net/gitroot/tmux/tmux' works fine.
>
> According to 'git log' the second repository was last updated on Dec 31,
> commit '675c6b37734a622b4530d35505f897310fdb138c', the first repository
> has last commit '69d97f6d4b7a373eb2c05ef2c3ca18be3271871b', on Mar 19.
>
> So seems that first repository in the working one and that suggests
> instruction on
> 'http://sourceforge.net/p/tmux/tmux-code/ci/69d97f6d4b7a373eb2c05ef2c3ca18be3271871b/tree/'
> "Read Me".
>
> If my understanding is right then how I should do the following
>
> tmux new-session -d -s misc -n context  'cd ~/works/tex/context ; 
> export_CSE=1 ; /bin/bash -l'
>
> (this is excerpt from my tmux start-up script,
> https://github.com/vp1981/scripts/blob/master/tmux/scripts/smoon
> )
>
> [*] To be more precise, when I set 'remain-on-exit' then command
> neww -n cont 'cd ~/tmp ; /bin/bash -l'
> leads to message "Pane is dead", without part 'cd ~/tmp ;' i.e.
> neww -n cont '/bin/bash -l'
> works fine.
>
> ---
> WBR, Vladimir Lomov
>
> --
> Out of the mouths of babes does often come cereal.
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to