In cmd-new-session.c, you've made path's type "char *", but everywhere
else it is "const char *".  Was that intentional?

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.

------------------------------------------------------------------------------
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