Last active
June 18, 2024 23:16
-
-
Save jupiterbjy/e46b6562aeaf0e55383f52db94255094 to your computer and use it in GitHub Desktop.
make colorless root become red, so it can be 3 times faster bs-tary
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 | |
# copy .bashrc & .bash_logout first | |
# https://superuser.com/a/268703/1252755 | |
cp /etc/skel/.bash* ~ | |
# Append the new PS1 setting to .bashrc | |
echo 'export PS1="\[\e[31m\]\u@\h\[\e[00m\]:\[\e[01;34m\]\w\[\e[00m\]\$ "' >> ~/.bashrc | |
# Reload the .bashrc to apply changes | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment