miscellaneous changes of the last few weeks

This commit is contained in:
hellerve
2017-01-09 17:24:26 +01:00
parent 92f5865d75
commit ce88492373
4 changed files with 3 additions and 5 deletions

3
zshrc
View File

@@ -106,9 +106,6 @@ case $TERM in
function rprompt-git-current-branch {
local name st color gitdir action
if [[ "$PWD" =~ '/\.git(/.*)?$' ]]; then
return
fi
name=`git rev-parse --abbrev-ref=loose HEAD 2> /dev/null`
if [[ -z $name ]]; then
return