mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
functions/__terlar_git_prompt: Stringify
[ci skip]
This commit is contained in:
@@ -46,7 +46,7 @@ function __terlar_git_prompt --description 'Write out the git prompt'
|
||||
set -l staged
|
||||
|
||||
for i in $index
|
||||
if echo $i | grep '^[AMRCD]' >/dev/null
|
||||
if string match -rq '^[AMRCD]' -- $i
|
||||
set staged 1
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user