diff options
Diffstat (limited to '01_Internal.zsh')
-rw-r--r-- | 01_Internal.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/01_Internal.zsh b/01_Internal.zsh index 902556e..96ca330 100644 --- a/01_Internal.zsh +++ b/01_Internal.zsh @@ -52,7 +52,7 @@ __term_title() print -Pn "\e]l%n@%m %~$@\e\\" # Never tested.. ;; *term*|rxvt*|putty) - print -Pn "\e]0;%n@%m (%l) %~$@\a" # Sets term title + print -Pn "\e]0;%n@%m (%l) %~${@//%/%%}\a" # Sets term title ;; screen*) local _sep="" @@ -61,7 +61,7 @@ __term_title() #then # Tmux #print -Pn "\e]0;%n@%m (%l) %~${_sep:+$_sep #[fg=yellow,bold]}$@\a" # Sets term title - print -Pn "\e]0;#[fg=red]%n#[fg=default,bold]@#[fg=red]%m#[default] (#[fg=cyan]%l#[fg=default]) #[fg=red]%~${_sep:+#[default,fg=default]$_sep #[fg=yellow,bold]$@}\a" + print -Pn "\e]0;#[fg=red]%n#[fg=default,bold]@#[fg=red]%m#[default] (#[fg=cyan]%l#[fg=default]) #[fg=red]%~${_sep:+#[default,fg=default]$_sep #[fg=yellow,bold]}$(echo $@|sed 's/%/%%/g')\a" #else # Classic screen # hardstatus |