From 1b9f08e7bbbeca3dfec7bcb6b8b118dbd6ffdcae Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 19 May 2017 10:06:04 +0200 Subject: zsh: Simplify title in Terminal.app --- zsh/.config/zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zsh') diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 0597013..c8f951b 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} -- cgit 1.4.1