aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-26 17:16:52 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-26 17:16:52 +1300
commitb86a0e03e7d976f2836f7f466ee0cfa5273ba831 (patch)
tree86ad886454816106c86fa1d9066cd50085e43201
parentRemove silent! call to showtabline. (diff)
downloaddotfiles-b86a0e03e7d976f2836f7f466ee0cfa5273ba831.tar.gz
dotfiles-b86a0e03e7d976f2836f7f466ee0cfa5273ba831.zip
Use short hostname.
-rw-r--r--bash/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc b/bash/bashrc
index 878a2fa7..a913b2de 100644
--- a/bash/bashrc
+++ b/bash/bashrc
@@ -76,7 +76,7 @@ case "$TERM" in
# Set screen window title.
screen*)
- PROMPT_COMMAND="printf '\033k$(hostname)\033\\';"${PROMPT_COMMAND}
+ PROMPT_COMMAND="printf '\033k$(hostname -s)\033\\';"${PROMPT_COMMAND}
;;
esac