mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
more cool now
This commit is contained in:
parent
e682d4554f
commit
eb46b10a48
1 changed files with 3 additions and 3 deletions
|
|
@ -15,11 +15,11 @@ vcs_info
|
||||||
if [ "${vcs_info_msg_0_}" = "" ]; then
|
if [ "${vcs_info_msg_0_}" = "" ]; then
|
||||||
dir_status="%F{2}→%f"
|
dir_status="%F{2}→%f"
|
||||||
elif [[ $(git diff --cached --name-status 2>/dev/null ) != "" ]]; then
|
elif [[ $(git diff --cached --name-status 2>/dev/null ) != "" ]]; then
|
||||||
dir_status="%F{1}▶%f"
|
dir_status="%F{1}💾%f"
|
||||||
elif [[ $(git diff --name-status 2>/dev/null ) != "" ]]; then
|
elif [[ $(git diff --name-status 2>/dev/null ) != "" ]]; then
|
||||||
dir_status="%F{3}▶%f"
|
dir_status="%F{3}💾%f"
|
||||||
else
|
else
|
||||||
dir_status="%F{2}▶%f"
|
dir_status="%F{2}✓▶%f"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue