updated README.md with features list and fixes to quick install

main
czoczo 10 months ago
parent 0020fc4f86
commit c2a3223e8e
  1. 16
      README.md
  2. 3
      getbb.sh
  3. BIN
      screenshot.png

@ -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
```

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Loading…
Cancel
Save