for/master
czoczo 8 years ago
parent b2e8b1e03a
commit 0f390260ec
  1. 0
      .bshell/bb.sh
  2. 3
      getbs.sh

@ -13,12 +13,11 @@ install () {
esac esac
} }
#test
#command -v zsh >/dev/null 2>&1 || install #command -v zsh >/dev/null 2>&1 || install
#[[ $EUID -ne 0 ]] && sudo usermod -s /bin/zsh $USER || usermod -s /bin/zsh $USER #[[ $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/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 ~ 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 #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 grep -q "$CMD" ~/.bashrc || echo "$CMD" >> ~/.bashrc

Loading…
Cancel
Save