Add ps1-striped.sh
This commit is contained in:
parent
34b778920c
commit
c5de73bcf9
5
ps1-striped.sh
Normal file
5
ps1-striped.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Personal PS1
|
||||||
|
parse_git_branch() {
|
||||||
|
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
|
||||||
|
}
|
||||||
|
PS1=$'\\[\e[97;48;5;69m\\] \u \\[\e[38;5;69;48;5;208m\\]\xee\x82\xb0\\[\e[97m\\] \w \\[\e[38;5;208;49m\\]\xee\x82\xb0\\[\e[33;49m\\]$(parse_git_branch)\n λ \\[\e[0m\\]'
|
Loading…
Reference in New Issue
Block a user