aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4f84f1f..b7e7347 100644
--- a/README.md
+++ b/README.md
@@ -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