Get current directory of last tmux pane
Get current directory of last tmux pane I’m looking for a tmux command to obtain the current directory (#{pane_current_path}) of the last focused pane, that doesn’t require switching to it and switching back. The following works: tmux last-pane echo "$(tmux display-message -pF "#{pane_current_path}")" tmux last-pane however I was wondering if there is a way to …