From 006144023475d8fc8764c6bbd90328489955bcda Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Mon, 24 Feb 2020 11:32:06 +0100 Subject: update --- .bash-powerline.sh | 4 +++- .config/i3/config | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.bash-powerline.sh b/.bash-powerline.sh index bcbd234..8121f92 100644 --- a/.bash-powerline.sh +++ b/.bash-powerline.sh @@ -17,8 +17,10 @@ __powerline() { readonly SYMBOL_GIT_PUSH='↑' readonly SYMBOL_GIT_PULL='↓' - if test -f "../usr/etc/hostname"; then + if test -f '../usr/etc/hostname'; then host=$(<../usr/etc/hostname) + elif test -f '/etc/hostname'; then + host=$(