parent
b2043da56a
commit
682dad7ec8
1 changed files with 14 additions and 4 deletions
@ -1,15 +1,25 @@ |
|||||||
# Better Bash |
# Better Bash |
||||||
|
Description? Pictures say more than words! |
||||||
## screenshot: |
## screenshot: |
||||||
 |
 |
||||||
## 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…
Reference in new issue