diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -100,7 +100,7 @@ For `zsh` put this in your `.zshrc`: ```zsh function chpwd() { - print -Pn "\e]51;$(pwd)\e\\"; + print -Pn "\e]51;A$(pwd)\e\\"; } ``` @@ -110,7 +110,7 @@ command (please als have a look the answers [here](https://unix.stackexchange.co ```bash cd() { builtin cd "$@" || return - [ "$OLDPWD" = "$PWD" ] || echo -e "\e]51;$(pwd)\e\\" + [ "$OLDPWD" = "$PWD" ] || echo -e "\e]51;A$(pwd)\e\\" } ``` @@ -120,7 +120,7 @@ Put this in your *remote* .zshrc: ```zsh function chpwd() { - print -Pn "\e]51;$(whoami)@$(hostname):$(pwd)\e\\" + print -Pn "\e]51A;$(whoami)@$(hostname):$(pwd)\e\\" } ``` |
