Open 1JunGu opened 2 years ago
Describe the problem: [A clear and concise description of what the bug is.]
To Reproduce: [Steps to reproduce the behavior]
- I have add the
export PS1="$PS1\[\e]1337;CurrentDir="'$(pwd)\a\]'
in my~/.bash_profile
. It perfectly detected the working directory but not available while using tmux to create new pane or window even though source bashrc or bash_profile.could you please fix this problem or did anyone encountered this similar problem?
Same problem
You have to use the passthrough escape sequence with tmux for it to reach the shell that Tabby is actually interacting with
See https://github.com/tmux/tmux/wiki/FAQ#what-is-the-passthrough-escape-sequence-and-how-do-i-use-it
Which means you'd need to use \ePtmux;\e\e]1337;CurrentDir=$(pwd)\a\e\\
in your PS1 or PROMPT_COMMAND
GitHubtmux source code. Contribute to tmux/tmux development by creating an account on GitHub.
Describe the problem: [A clear and concise description of what the bug is.]
To Reproduce: [Steps to reproduce the behavior]
export PS1="$PS1\[\e]1337;CurrentDir="'$(pwd)\a\]'
in my~/.bash_profile
. It perfectly detected the working directory but not available while using tmux to create new pane or window even though source bashrc or bash_profile.could you please fix this problem or did anyone encountered this similar problem?