You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug in get_tmux_cwd() in lib.sh on OS X with tmux 1.7. The line that tries to get the current pane seems to be using the incorrect format specifier, "#D".
local env_name=$(tmux display -p "TMUXPWD_#D" | tr -d %)
In the man-page for tmux(1) it claims that "#D" is the pane unique ID however tmux show-environment doesn't have the ID. I propose that it is changed to use the "#I" and "#S" specifier so the window and pane can string can be constructed. Please see the following output to support this.
Hey there,
There is a bug in
get_tmux_cwd()
inlib.sh
on OS X with tmux 1.7. The line that tries to get the current pane seems to be using the incorrect format specifier, "#D".local env_name=$(tmux display -p "TMUXPWD_#D" | tr -d %)
In the man-page for tmux(1) it claims that "#D" is the pane unique ID however
tmux show-environment
doesn't have the ID. I propose that it is changed to use the "#I" and "#S" specifier so the window and pane can string can be constructed. Please see the following output to support this.Any objections?
The text was updated successfully, but these errors were encountered: