summaryrefslogtreecommitdiff
path: root/.bash-powerline.sh
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2020-02-16 21:20:35 +0100
committerMarc Vertes <mvertes@free.fr>2020-02-16 21:20:35 +0100
commitc451245564f6b0ca125a431a516510d7a7c8aa7d (patch)
tree9b0389e21629c9762ada29e6249db07ddebb677e /.bash-powerline.sh
parent47c5e607745ded7604305d11a60cf547ab5b7ed6 (diff)
fix: simplify bash-powerline.sh
Diffstat (limited to '.bash-powerline.sh')
-rw-r--r--.bash-powerline.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.bash-powerline.sh b/.bash-powerline.sh
index 338ca9d..bcbd234 100644
--- a/.bash-powerline.sh
+++ b/.bash-powerline.sh
@@ -18,9 +18,9 @@ __powerline() {
readonly SYMBOL_GIT_PULL='↓'
if test -f "../usr/etc/hostname"; then
- readonly host=$(<"../usr/etc/hostname")
+ host=$(<../usr/etc/hostname)
else
- readonly host=$(hostname)
+ host=$(hostname)
fi
if [[ -z "$PS_SYMBOL" ]]; then