diff options
Diffstat (limited to '01_Functions.zsh')
-rw-r--r-- | 01_Functions.zsh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/01_Functions.zsh b/01_Functions.zsh index 534c2ed..d598023 100644 --- a/01_Functions.zsh +++ b/01_Functions.zsh @@ -33,9 +33,11 @@ term_title() print -Pn "\e]0;%n@%m (%l) %~$@\a" # Sets term title ;; screen) - print -Pn "\e]2;[SCREEN #n] %n@%m (%l) %~$@\a" # Sets hardstatus line (term title) - [ $# -gt 0 ] && shift # discards separator - print -Pn "\ek${@:-%n@%m (%l) %~}\e\\" # Sets screen title + # hardstatus + print -Pn "\e]2;[SCREEN #n] ?u(u) ?%n@%m (%l) %~$@\a" # Sets hardstatus line (term title) + # caption + [ $# -gt 0 ] && shift # discards the first arg, which is the separator, if any + print -Pn "\ek${@:-%~}\e\\" ;; *) ;; |