all repos — nixfiles @ 1b9f08e7bbbeca3dfec7bcb6b8b118dbd6ffdcae

System and user configuration, managed by nix and home-manager

zsh: Simplify title in Terminal.app

Alan Pearce
commit

1b9f08e7bbbeca3dfec7bcb6b8b118dbd6ffdcae

parent

b503983d06fb1cdc1577f5abe59988471ea2cc86

1 file changed, 3 insertions(+), 0 deletions(-)

jump to
M zsh/.config/zsh/.zshrczsh/.config/zsh/.zshrc
@@ -183,6 +183,9 @@
# 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}