From 8f9027be40cfe82ef4f065210e59339e667a06c5 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Tue, 17 May 2022 14:40:14 +0200 Subject: zshrc: show user, host and pwd in window title --- .config/zsh/.zshrc | 2 ++ 1 file changed, 2 insertions(+) (limited to '.config/zsh') 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' -- cgit v1.2.3-70-g09d2