|
|
|
@ -1,8 +1,16 @@ |
|
|
|
# Better Bash |
|
|
|
# Better Bash |
|
|
|
Description? Pictures say more than words! |
|
|
|
|
|
|
|
## screenshot: |
|
|
|
## screenshot: |
|
|
|
 |
|
|
|
 |
|
|
|
## quick install: |
|
|
|
## 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' && \ |
|
|
|
URL='https://git.cz0.cz/czoczo/BetterBash/raw/branch/master/.bshell' && \ |
|
|
|
DIR=~/.bshell && \ |
|
|
|
DIR=~/.bshell && \ |
|
|
|
@ -15,5 +23,5 @@ source ~/.bashrc |
|
|
|
``` |
|
|
|
``` |
|
|
|
or just: |
|
|
|
or just: |
|
|
|
``` |
|
|
|
``` |
|
|
|
curl https://git.cz0.cz/getbb | sh && source ~/.bashrc |
|
|
|
curl https://git.cz0.cz/getbb | sh && . ~/.bashrc |
|
|
|
``` |
|
|
|
``` |
|
|
|
|