Small change to window title
b2fa2edf04fc747cd48e157b97778d054b15b06d
1 parent
7513e82e
.zshrc
+1 -1
| 156 | 156 | print -Pn "\e]2;%~\a" |
|
| 157 | 157 | } |
|
| 158 | 158 | ||
| 159 | 159 | preexec() { |
|
| 160 | 160 | # Set the window title to the command and pwd. |
|
| 161 | - | print -Pn "\e]2;$1 %~\a" |
|
| 161 | + | print -Pn "\e]2;$1 [%~]\a" |
|
| 162 | 162 | } |
|
| 163 | 163 | ||
| 164 | 164 | # |
|
| 165 | 165 | # Vi-mode |
|
| 166 | 166 | # |