mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-27 20:25:12 +00:00
fix(completion): unescape strings for __fish_complete_list
This commit is contained in:
parent
a9cee9e755
commit
cd3da62d24
1 changed files with 2 additions and 2 deletions
|
@ -18,11 +18,11 @@ where:
|
||||||
switch $pat
|
switch $pat
|
||||||
case "*$div*"
|
case "*$div*"
|
||||||
for i in (echo $pat | sed "s/^\(.\+$div\)$iprefix.*\$/\1/")$iprefix(eval $cmd)
|
for i in (echo $pat | sed "s/^\(.\+$div\)$iprefix.*\$/\1/")$iprefix(eval $cmd)
|
||||||
echo $i
|
string unescape -- $i
|
||||||
end
|
end
|
||||||
case '*'
|
case '*'
|
||||||
for i in $prefix$iprefix(eval $cmd)
|
for i in $prefix$iprefix(eval $cmd)
|
||||||
echo $i
|
string unescape -- $i
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue