parent
b2043da56a
commit
682dad7ec8
1 changed files with 14 additions and 4 deletions
@ -1,15 +1,25 @@ |
||||
# Better Bash |
||||
Description? Pictures say more than words! |
||||
## screenshot: |
||||
 |
||||
## quick install: |
||||
``` |
||||
wget https://cz0.cz/getbb.sh |
||||
bash getbb.sh |
||||
source .bashrc |
||||
URL='https://cz0.cz/git/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 |
||||
``` |
||||
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) |
||||
|
||||
|
||||
|
||||
|
||||
(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…
Reference in new issue