Formatting

This commit is contained in:
crater2150 2019-07-08 16:08:51 +02:00
parent 586a351b0f
commit 253a43b45b

View file

@ -57,16 +57,12 @@ zstyle ':vcs_info:*' disable-patterns "${disable_pattern[@]}"
export VCS_DETECTED=$vcs
}
function vcs_char {
vcs_char() {
case $VCS_DETECTED in
git)
echo '±';;
hg)
echo '☿';;
svn)
echo '☣';;
*)
echo '#';;
git) echo '±';;
hg) echo '☿';;
svn) echo '☣';;
*) echo '#';;
esac
}