mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
xterm zsh title update
This commit is contained in:
parent
62c2106fb5
commit
528198e997
1 changed files with 8 additions and 0 deletions
8
zshrc
8
zshrc
|
|
@ -19,6 +19,14 @@ chpwd() {
|
|||
# NOOP
|
||||
;;
|
||||
esac
|
||||
case $TERM in
|
||||
xterm*)
|
||||
print -Pn "\e]0;%n@%m: %~\a"
|
||||
;;
|
||||
*)
|
||||
# NOOP
|
||||
;;
|
||||
esac
|
||||
}
|
||||
chpwd # call in right now
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue