From 0f390260ec1d361a1d071d6ced45d4220c184ce0 Mon Sep 17 00:00:00 2001 From: czoczo Date: Wed, 27 Dec 2017 16:31:52 +0100 Subject: [PATCH] Path fix --- .bshell/bb.sh | 0 getbs.sh | 3 +-- 2 files changed, 1 insertion(+), 2 deletions(-) mode change 100755 => 100644 .bshell/bb.sh diff --git a/.bshell/bb.sh b/.bshell/bb.sh old mode 100755 new mode 100644 diff --git a/getbs.sh b/getbs.sh index e6b0210..0b10d57 100644 --- a/getbs.sh +++ b/getbs.sh @@ -13,12 +13,11 @@ install () { esac } -#test #command -v zsh >/dev/null 2>&1 || install #[[ $EUID -ne 0 ]] && sudo usermod -s /bin/zsh $USER || usermod -s /bin/zsh $USER #wget cz0.cz/chozsh-latest.tar.gz -q -O - | tar --owner=$UID --group=$GID --no-same-owner -xz -C ~ wget cz0.cz/bettershell-latest.tar.gz -q -O - | tar -xz -C ~ #echo -e 'export SHELL=`which zsh`'"\n"'[ -z "$ZSH_VERSION" ] && exec "$SHELL" -l' > ~/.profile -CMD='[ -f ~/bshell/bb.sh ] && . ~/bshell/bb.sh' +CMD='[ -f ~/.bshell/bb.sh ] && . ~/.bshell/bb.sh' grep -q "$CMD" ~/.bashrc || echo "$CMD" >> ~/.bashrc