diff options
author | Karel Kočí <cynerd@email.cz> | 2017-10-22 22:08:46 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2017-10-22 22:08:46 +0200 |
commit | 8068d1cde76a1939bdf3b3110c5e8ac3b84714ba (patch) | |
tree | ba5af450e5c47b903c77f268625466e827aecfb4 | |
parent | 7d68f4b5f7adf9b2338055baa5e0bd1073c103a7 (diff) | |
download | myconfigs-8068d1cde76a1939bdf3b3110c5e8ac3b84714ba.tar.gz myconfigs-8068d1cde76a1939bdf3b3110c5e8ac3b84714ba.tar.bz2 myconfigs-8068d1cde76a1939bdf3b3110c5e8ac3b84714ba.zip |
Add st to title switch for terminals
-rw-r--r-- | bashrc | 2 | ||||
-rw-r--r-- | zshrc | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -37,7 +37,7 @@ function settitle { echo -ne "\033]0;`whoami`@`hostname`:`pwd`\007" } case "$TERM" in - xterm*|*rxvt*) + xterm*|*rxvt*|*st*) trap 'settitle' DEBUG ;; esac @@ -109,7 +109,7 @@ compdef _gitbmerge gitbmerge ################################################################ case "$TERM" in - xterm*|*rxvt*) + xterm*|*rxvt*|*st*) precmd() { print -Pn "\e]0;%n@%m:%~ %(1j,%j job%(2j|s|) ,)\a" } |