You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
329 B
9 lines
329 B
URL='https://git.cz0.cz/czoczo/BetterBash/raw/branch/master/.bshell' && \
|
|
DIR=~/.bshell && \
|
|
CMD='[ -f ~/.bshell/bb.sh ] && . ~/.bshell/bb.sh' && \
|
|
mkdir -p $DIR && \
|
|
wget $URL/bb.sh -O $DIR/bb.sh && \
|
|
wget $URL/git-prompt.sh -O $DIR/git-prompt.sh && \
|
|
grep -q "$CMD" ~/.bashrc || echo "$CMD" >> ~/.bashrc && \
|
|
source ~/.bashrc
|
|
|
|
|