5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-05-17 01:40:48 +00:00

feat: informar la rama actual del repositorio #9804

This commit is contained in:
f 2023-02-07 09:19:38 -03:00
parent 9681f15b70
commit 8dcc8596e2

9
.profile Normal file
View file

@ -0,0 +1,9 @@
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}\] >_ "