changed install method to be more transparent

for/master
czoczo 7 years ago
parent b2043da56a
commit 682dad7ec8
  1. 18
      README.md

@ -1,15 +1,25 @@
# Better Bash # Better Bash
Description? Pictures say more than words!
## screenshot: ## screenshot:
![alt text](https://cz0.cz/static/untracked/images/bb_example.png "Example of BetterBash at work") ![alt text](https://cz0.cz/static/untracked/images/bb_example.png "Example of BetterBash at work")
## quick install: ## quick install:
``` ```
wget https://cz0.cz/getbb.sh URL='https://cz0.cz/git/czoczo/BetterBash/raw/branch/master/.bshell' && \
bash getbb.sh DIR=~/.bshell && \
source .bashrc 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
``` ```
or just: or just:
``` ```
curl https://cz0.cz/getbb.sh | sh && source .bashrc curl https://cz0.cz/getbb.sh | sh && source ~/.bashrc
``` ```
(but only if you really, really, really trust me) (but only if you really, really, really trust me)
(in fact, no one except me should... One of the reasons it's a bad habit: https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-bash-server-side/ )

Loading…
Cancel
Save