aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc2
-rw-r--r--zshrc2
2 files changed, 2 insertions, 2 deletions
diff --git a/bashrc b/bashrc
index f36391e..0b7cf08 100644
--- a/bashrc
+++ b/bashrc
@@ -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
diff --git a/zshrc b/zshrc
index ed2058d..ec502b6 100644
--- a/zshrc
+++ b/zshrc
@@ -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"
}