summaryrefslogtreecommitdiff
path: root/config/essentials/zsh/.zshrc
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-25 20:38:26 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-04-25 20:38:26 +0200
commit5876d2579034fecf414212d515c077530714b9da (patch)
treee7c4bd1227686dd02ee3e010554807a96284d075 /config/essentials/zsh/.zshrc
parent177b2bf4b5ec504dd33ac1fad08ccbb9c3ad2056 (diff)
changed window title commands
Diffstat (limited to 'config/essentials/zsh/.zshrc')
-rw-r--r--config/essentials/zsh/.zshrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc
index f0c1cbf..f740824 100644
--- a/config/essentials/zsh/.zshrc
+++ b/config/essentials/zsh/.zshrc
@@ -80,11 +80,11 @@ rehash_precmd() {
# window title hooks
add-zsh-hook -Uz precmd rehash_precmd
set_wt_action () {
- print -Pn "\e]0;$USER@$HOST on ${PWD//$HOME/\~} | $1\a"
+ print -Pn "\e]0;👉 $1\a"
}
add-zsh-hook -Uz preexec set_wt_action
set_wt () {
- print -Pn "\e]0;$USER@$HOST on ${PWD//$HOME/\~}\a"
+ print -Pn "\e]0;%n@%m on %~\a"
}
add-zsh-hook -Uz precmd set_wt