diff --git a/README.md b/README.md index bdca877..085033e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,16 @@ # Better Bash -Description? Pictures say more than words! ## screenshot: -![alt text](https://cz0.cz/static/untracked/images/bb_example.png "Example of BetterBash at work") -## quick install: +![alt text](https://git.cz0.cz/czoczo/BetterBash/raw/branch/master/screenshot.png "BetterBash screenshot") +## Features +- Username (highlighted if root) and hostname. +- Unique avatar based on hostname (a bit like automatic avatars on StackOverflow), reduces the risk of terminal confusion. +- Line separating commands output. +- Number of background processes. +- Exit code if other than zero. +- Date and time. +- Current directory. +- Git status (if current directory inside git repository) +## Quick install: ``` URL='https://git.cz0.cz/czoczo/BetterBash/raw/branch/master/.bshell' && \ DIR=~/.bshell && \ @@ -15,5 +23,5 @@ source ~/.bashrc ``` or just: ``` -curl https://git.cz0.cz/getbb | sh && source ~/.bashrc +curl https://git.cz0.cz/getbb | sh && . ~/.bashrc ``` diff --git a/getbb.sh b/getbb.sh index ab4c16d..270443a 100644 --- a/getbb.sh +++ b/getbb.sh @@ -4,6 +4,5 @@ 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 +grep -q "$CMD" ~/.bashrc || echo "$CMD" >> ~/.bashrc diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..e2de91c Binary files /dev/null and b/screenshot.png differ