summaryrefslogtreecommitdiff
path: root/.config/zsh
diff options
context:
space:
mode:
Diffstat (limited to '.config/zsh')
-rw-r--r--.config/zsh/.zshrc2
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'