Discussion:
[tmux:tickets] #189 pane_current_command and pane_current_path do not work in cygwin
(too old to reply)
Just Some Guy
2015-04-21 22:04:25 UTC
Permalink
---

** [tickets:#189] pane_current_command and pane_current_path do not work in cygwin**

**Status:** open
**Created:** Tue Apr 21, 2015 10:04 PM UTC by Just Some Guy
**Last Updated:** Tue Apr 21, 2015 10:04 PM UTC
**Owner:** nobody

Environment: cygwin 64-bit running on Windows 7 Professional

The tmux variables pane_current_command and pane_current_path never get updated.

pane_current_command always seems to be set to the first command (which for me is bash). If I run another program, like vim, the window name is not changed, it's still something like "0:bash". These are the relevant window variables which I've checked are set (they're the default values actually):

automatic-rename on
automatic-rename-format "#{?pane_in_mode,[tmux],#{pane_current_command}}#{?pane_dead,[dead],}"

pane_current_path seems to always be empty. I have the following lines in my .tmux.conf, which I think should cause every new window I create with CTRL+B,c to start in the current window's CWD, but instead they all start in /

set-environment -g CHERE_INVOKING 1
bind-key c new-window -c "#{pane_current_path}"


---

Sent from sourceforge.net because tmux-***@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.
Loading...