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.
 
 
 
 
 
 
czoczo 1799c9023f typo fix 11 months ago
prompt typo fix 11 months ago
.inputrc changed install method, added uninstall 11 months ago
README.md changed install method, added uninstall 11 months ago
getbb.sh typo fix 11 months ago
removebb.sh changed install method, added uninstall 11 months ago
screenshot.png updated README.md with features list and fixes to quick install 11 months ago

README.md

Better Bash

screenshot:

alt text

Features

  • Rapid search history with up/down keyboard arrows
  • Username (highlighted if root) and hostname.
  • Unique avatar based on hostname (a bit like automatic avatars on StackOverflow), reduces the risk of terminal confusion.
  • Number of background processes.
  • Line separating commands output.
  • Exit code if other than zero.
  • Date and time.
  • Current directory.
  • Git status (if current directory inside git repository)

Install:

with curl

curl https://cz0.cz/getbb | sh && . ~/.bashrc

with wget

curl https://cz0.cz/getbb | sh && . ~/.bashrc

with openssl (no dependencies needed)

echo -e "GET /getbb HTTP/1.1\r\nHost: cz0.cz\r\nConnection: close\r\n\r\n" \
| openssl s_client -quiet -connect cz0.cz:443 2>/dev/null \
| sed '1,/^\r$/d' | sh && . ~/.bashrc

Uninstall:

with curl

curl https://cz0.cz/removebb | sh && . ~/.bashrc

with wget

curl https://cz0.cz/removebb | sh && . ~/.bashrc

with openssl (no dependencies needed)

echo -e "GET /removebb HTTP/1.1\r\nHost: cz0.cz\r\nConnection: close\r\n\r\n" \
| openssl s_client -quiet -connect cz0.cz:443 2>/dev/null \
| sed '1,/^\r$/d' | sh && . ~/.bashrc