mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
functions/__terlar_git_prompt: Stringify
[ci skip]
This commit is contained in:
parent
0640e7bae9
commit
b8fd08811c
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ function __terlar_git_prompt --description 'Write out the git prompt'
|
||||||
set -l staged
|
set -l staged
|
||||||
|
|
||||||
for i in $index
|
for i in $index
|
||||||
if echo $i | grep '^[AMRCD]' >/dev/null
|
if string match -rq '^[AMRCD]' -- $i
|
||||||
set staged 1
|
set staged 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue