function
This commit is contained in:
parent
3b979057c1
commit
d7e2f15257
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ local view="└ "
|
|||
view="${view}\e[0;32m"
|
||||
fi
|
||||
view="${view}${code}\e[0m @ \e[0;33m${date}\e[0m"
|
||||
if [ "$(type -t __git_ps1)" == 'function' ] ; then
|
||||
if [ "$(type -t __git_ps1)" == "function" ] ; then
|
||||
git="$(__git_ps1)"
|
||||
if [ "${git}" ] ; then
|
||||
view="${view} –\e[0;35m${git}\e[0m"
|
||||
|
|
Loading…
Reference in a new issue