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 02cb7f2d28 repo cleanup 10 months ago
prompt added avatar toggle wip #2 10 months ago
webpage repo cleanup 10 months ago
.inputrc changed install method, added uninstall 1 year ago
README.md repo cleanup 10 months ago
getbb.sh fixed bug with carriage return still in content 10 months ago
removebb.sh added message to removebb, added random theme button, added uninstall commands 10 months ago

README.md

Better Bash

screenshot:

alt text

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.
  • 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)
  • Rapid search history with up/down keyboard arrows

Install:

with curl

curl -sL https://betterbash.cz0.cz/vN-y_5uA/getbb.sh | bash && . ~/.bashrc

with wget

wget -q -O - https://betterbash.cz0.cz/vN-y_5uA/getbb.sh | bash && . ~/.bashrc

with openssl (no dependencies needed)

echo -e "GET /vN-y_5uA/getbb.sh HTTP/1.1\r\nHost: bbbt-bdewcgb9h5h6dfda.westeurope-01.azurewebsites.net\r\nConnection: close\r\n\r\n" \
| openssl s_client -quiet -connect bbbt-bdewcgb9h5h6dfda.westeurope-01.azurewebsites.net:443 2>/dev/null \
| sed '1,/^\r$/d' | bash && . ~/.bashrc

Uninstall:

bash session needs a restart in order to uninstall to take effect.

with curl

curl -sL https://betterbash.cz0.cz/vN-y_5uA/removebb.sh | bash

with wget

wget -q -O - https://betterbash.cz0.cz/vN-y_5uA/removebb.sh | bash

with openssl (no dependencies needed)

echo -e "GET /vN-y_5uA/removebb.sh HTTP/1.1\r\nHost: bbbt-bdewcgb9h5h6dfda.westeurope-01.azurewebsites.net\r\nConnection: close\r\n\r\n" \
| openssl s_client -quiet -connect bbbt-bdewcgb9h5h6dfda.westeurope-01.azurewebsites.net:443 2>/dev/null \
| sed '1,/^\r$/d' | bash && . ~/.bashrc