-n
This commit is contained in:
parent
c4e9f06cb2
commit
818f48d92f
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ ps1() {
|
||||||
view="${view}${code}\e[0m @ \e[0;33m${date}\e[0m"
|
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)"
|
git="$(__git_ps1)"
|
||||||
if [ "${git}" ]; then
|
if [ -n "${git}" ]; then
|
||||||
view="${view} –\e[0;35m${git}\e[0m"
|
view="${view} –\e[0;35m${git}\e[0m"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue