diff options
| author | Lukas Fürmetz <fuermetz@mailbox.org> | 2019-08-03 15:32:22 +0200 |
|---|---|---|
| committer | jixiuf <jixiuf@qq.com> | 2019-08-06 11:51:00 +0800 |
| commit | 72f7fae5eab492b9decc0270b2c9a80fba312ed5 (patch) | |
| tree | f5d090065ac0c46e6073e0896f0c2f8e309f6531 /README.md | |
| parent | 887025823b22a3ca5cdaacbba6e0bf771a68b154 (diff) | |
Add remote directory trackingremote_directory_tracking
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -114,6 +114,16 @@ cd() { } ``` +## Remote directory tracking + +Put this in your *remote* .zshrc: + +```zsh +function chpwd() { + print -Pn "\e]51;$(whoami)@$(hostname):$(pwd)\e\\" +} +``` + ## Related packages - [vterm-toggle](https://github.com/jixiuf/vterm-toggle): Toggles between a vterm and the current buffer |
