On Tue, Apr 15, 2014 at 01:40:22AM -0500, J Raynor wrote:
> In cmd-new-session.c, you've made path's type "char *", but everywhere
> else it is "const char *".  Was that intentional?

No, the line was too long but I should have added a new const char *
line not added it to the char * one. Thanks.

> The parts of your patch that take the path from the global or session
> env seem redundant, unless I'm missing a use case.  When a new
> session, window, or pane is created, a new env is created from global
> and session envs.  That env is then passed to session_create or
> window_pane_spawn, and the PATH is picked up from there.

Hmm that's true but not obvious, I think I'd rather it was in the PATH
variable.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to