From c451245564f6b0ca125a431a516510d7a7c8aa7d Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sun, 16 Feb 2020 21:20:35 +0100 Subject: fix: simplify bash-powerline.sh --- .bash-powerline.sh | 4 ++-- 1 file 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 -- cgit v1.2.3