summaryrefslogtreecommitdiff
path: root/.bash-powerline.sh
diff options
context:
space:
mode:
Diffstat (limited to '.bash-powerline.sh')
-rw-r--r--.bash-powerline.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bash-powerline.sh b/.bash-powerline.sh
index 626157a..6d2ee2d 100644
--- a/.bash-powerline.sh
+++ b/.bash-powerline.sh
@@ -23,7 +23,7 @@ __powerline() {
elif test -f '/etc/hostname'; then
host=$(</etc/hostname)
else
- host=$(hostname)
+ host=$(hostname -s)
fi
[ "$PS_SYMBOL" ] || PS_SYMBOL=';'