[fish] Fix git prompt bug
This commit is contained in:
parent
aacda3c3c7
commit
d41f489ea6
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ function __plaid_git_prompt --description 'Write out the git prompt'
|
|||
if echo $i | grep '^[AMRCD]' >/dev/null
|
||||
set -a gs staged
|
||||
end
|
||||
if echo $i | grep '^.\?[AMRCD]' >/dev/null
|
||||
if echo $i | grep '^.\{1\}[AMRCD]' >/dev/null
|
||||
set -a gs unstaged
|
||||
end
|
||||
if echo $i | grep '^??' >/dev/null
|
||||
|
|
Loading…
Reference in a new issue