mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 10:51:42 +00:00
Merge branch 'issue-9804' into 'rails'
feat: informar la rama actual del repositorio #9804 See merge request sutty/sutty!117
This commit is contained in:
commit
70033d3c17
1 changed files with 9 additions and 0 deletions
9
.profile
Normal file
9
.profile
Normal 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}\] >_ "
|
Loading…
Reference in a new issue