aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash')
-rw-r--r--bash/bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 57d6719d..c50ae7d7 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -74,12 +74,12 @@ case "$TERM" in
# Set title of screen/tmux window.
screen*)
- printf "\033k$(hostname)\033\\"
+ PS1="\[\ek\h\e\\\\\]"${PS1}
;;
# Set xterm title, use 256 colors.
xterm*)
- PS1="\[\e]0;\h\a\]${PS1}"
+ PS1="\[\e]0;\h\a\]"${PS1}
TERM=xterm-256color
;;
esac