You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
10 months ago | |
|---|---|---|
| .bshell | 3 years ago | |
| .inputrc | 8 years ago | |
| README.md | 10 months ago | |
| getbb.sh | 10 months ago | |
| screenshot.png | 10 months ago | |
README.md
Better Bash
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 && \
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 && . ~/.bashrc
