diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-17 14:40:14 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-17 14:40:14 +0200 |
commit | 8f9027be40cfe82ef4f065210e59339e667a06c5 (patch) | |
tree | 38f34e2780d6d05a09d8b74ad8e861b6eee43fc5 /.config | |
parent | 9edc89d27937b603b619eaa0c47c4bd3e8ffe0e9 (diff) |
zshrc: show user, host and pwd in window title
Diffstat (limited to '.config')
-rw-r--r-- | .config/zsh/.zshrc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 7f373fc..a54bd48 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -18,6 +18,8 @@ export EDITOR=vim export VISUAL=vim export PAGER="less -i -j.5 -R --use-color -Dd+y -Du+c" +precmd () {print -Pn "\e]0;%n@%m:%~\a"} + alias sudo='doas' alias sudoedit='doasedit' |