diff options
author | Alan Pearce | 2017-05-19 10:06:04 +0200 |
---|---|---|
committer | Alan Pearce | 2017-05-19 10:06:04 +0200 |
commit | 1b9f08e7bbbeca3dfec7bcb6b8b118dbd6ffdcae (patch) | |
tree | a12b3be9e58be0dc603cd37f3eb011577bbc8f75 /zsh | |
parent | b503983d06fb1cdc1577f5abe59988471ea2cc86 (diff) | |
download | nixfiles-1b9f08e7bbbeca3dfec7bcb6b8b118dbd6ffdcae.tar.lz nixfiles-1b9f08e7bbbeca3dfec7bcb6b8b118dbd6ffdcae.tar.zst nixfiles-1b9f08e7bbbeca3dfec7bcb6b8b118dbd6ffdcae.zip |
zsh: Simplify title in Terminal.app
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.config/zsh/.zshrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 05970131..c8f951bf 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -183,6 +183,9 @@ else # show username@host if root, with username in white [[ $UID -eq 0 ]] && prompt_pure_username=' %F{white}%n%f%F{242}@%m%f' + ZSH_THEME_TERM_TAB_TITLE_IDLE="" + ZSH_THEME_TERM_TITLE_IDLE="" + setopt prompt_subst setopt prompt_cr PROMPT='%F{blue}%~%f${prompt_pure_username} |