1
0
mirror of https://github.com/akelge/vim synced 2025-07-06 14:59:07 +00:00

Repo aware prompt

This commit is contained in:
2014-11-27 16:36:19 +00:00
parent 02063b266b
commit a1e61b9720
3 changed files with 14 additions and 4 deletions

View File

@ -0,0 +1,7 @@
function repo_char {
# git branch > /dev/null 2> /dev/null && echo '±' && return
# svn info > /dev/null 2> /dev/null && echo '\u03a3' && return
# echo '\u25cb'
git branch > /dev/null 2> /dev/null && echo ' «git' && return
svn info > /dev/null 2> /dev/null && echo ' «svn' && return
}