This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# force enable colors | |
sed -i '/#force_color_prompt=yes/c\force_color_prompt=yes' $HOME/.bashrc | |
# remove old color scheme | |
sed -i '/if \[ "\$color_prompt" = yes \]; then/{n;d}' $HOME/.bashrc | |
# add new color scheme | |
sed -i '/if \[ "\$color_prompt" = yes \]; then/a PS1="\${debian_chroot:+(\$debian_chroot)}\\\[\\033\[01;31m\\\]\\u\\\[\\033\[01;33m\\\]@\\\[\\033\[01;36m\\\]\\h \\\[\\033[01;33m\\\]\\w \\\[\\033\[01;35m\\\]\\\$ \\\[\\033\[00m\\\]"' $HOME/.bashrc | |
# read .bashrc on login | |
echo "source .bashrc" >> $HOME/.bash_profile | |
# read new config in current session |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -s https://raw.githubusercontent.com/Staketab/node-tools/main/logo.sh | bash | |
RED="\033[31m" | |
YELLOW="\033[33m" | |
GREEN="\033[32m" | |
NORMAL="\033[0m" | |
function setup { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am vbloher on github. | |
* I am vbloher (https://keybase.io/vbloher) on keybase. | |
* I have a public key ASB8y6Us4io9gR0qTnu1Kulciak2EVWGKtJ_N91ls3eg1Qo | |
To claim this, I am signing this object: |