diff options
author | Michele Bologna <michele.bologna@gmail.com> | 2020-10-08 19:20:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 19:20:47 +0200 |
commit | 58ff4e1d2e6a81ea97a05b142c28a931a9924b70 (patch) | |
tree | ba6de77eb73f8d69fcf3a1921dd2650f9919b6cd /lib/termsupport.zsh | |
parent | 68f809448a08d2c93d13650157fd0500a329a16a (diff) | |
download | zsh-58ff4e1d2e6a81ea97a05b142c28a931a9924b70.tar.gz zsh-58ff4e1d2e6a81ea97a05b142c28a931a9924b70.tar.bz2 zsh-58ff4e1d2e6a81ea97a05b142c28a931a9924b70.zip |
lib: follow standards in window title (#9320)
In Ubuntu and Debian, in scp, and in rsync the prompt is by default specified as in
user@hostname:/path/to/directory
while the previous title in ohmyzsh was
user@hostname: /path/to/directory
Diffstat (limited to 'lib/termsupport.zsh')
-rw-r--r-- | lib/termsupport.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index 8cb2389e2..778f12bca 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -42,7 +42,7 @@ function title { } ZSH_THEME_TERM_TAB_TITLE_IDLE="%15<..<%~%<<" #15 char left truncated PWD -ZSH_THEME_TERM_TITLE_IDLE="%n@%m: %~" +ZSH_THEME_TERM_TITLE_IDLE="%n@%m:%~" # Avoid duplication of directory in terminals with independent dir display if [[ "$TERM_PROGRAM" == Apple_Terminal ]]; then ZSH_THEME_TERM_TITLE_IDLE="%n@%m" |