Update bashrc-terminal-style.sh
This commit is contained in:
parent
de5ecfc9e1
commit
258408945f
12
shell/bashrc-terminal-style.sh
Normal file
12
shell/bashrc-terminal-style.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Define the line to be added to ~/.bashrc
|
||||
NEW_PS1='export PS1="\[$(tput bold)\]\[\033[38;5;10m\]\u\[$(tput sgr0)\]@\H [\[$(tput sgr0)\]\[\033[38;5;13m\]\w\[$(tput sgr0)\]] \\$ \[$(tput sgr0)\]"'
|
||||
|
||||
# Add the line to ~/.bashrc
|
||||
echo "$NEW_PS1" >> ~/.bashrc
|
||||
|
||||
# Source ~/.bashrc to apply changes immediately
|
||||
source ~/.bashrc
|
||||
|
||||
echo "Custom prompt added to ~/.bashrc. Changes applied."
|
Loading…
Reference in New Issue
Block a user