mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 14:26:21 +00:00
10 lines
181 B
Text
10 lines
181 B
Text
|
Color_Off='\e[0m'
|
||
|
BPurple='\e[1;35m'
|
||
|
BBlue='\e[1;34m'
|
||
|
|
||
|
is_git() {
|
||
|
git rev-parse --abbrev-ref HEAD 2>/dev/null
|
||
|
}
|
||
|
|
||
|
PS1="\[${BPurple}\]\$(is_git) \[${BBlue}\]\W\[${Color_Off}\] >_ "
|