Merge pull request #54 from jaesivsm/develop

fix mark
This commit is contained in:
nojhan 2012-08-16 10:38:22 -07:00
commit ed9f655ad2

View File

@ -901,11 +901,11 @@ _lp_smart_mark()
mark="%(!.#.%%)" mark="%(!.#.%%)"
fi fi
if [[ ! -z $(_lp_git_branch) ]] ; then if [[ ! -z $(_lp_git_branch) ]] ; then
mark=$LP_GIT_MARK mark=$LP_MARK_GIT
elif [[ ! -z $(_lp_hg_branch) ]] ; then elif [[ ! -z $(_lp_hg_branch) ]] ; then
mark=$LP_HG_MARK mark=$LP_MARK_HG
elif [[ ! -z $(_lp_svn_branch) ]] ; then elif [[ ! -z $(_lp_svn_branch) ]] ; then
mark=$LP_SVN_MARK mark=$LP_MARK_SVN
fi fi
echo -ne "${COL}${mark}${NO_COL}" echo -ne "${COL}${mark}${NO_COL}"
} }