mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 11:22:52 +08:00
fix(completion): unescape strings for __fish_complete_list
This commit is contained in:
parent
a9cee9e755
commit
cd3da62d24
|
@ -18,11 +18,11 @@ where:
|
|||
switch $pat
|
||||
case "*$div*"
|
||||
for i in (echo $pat | sed "s/^\(.\+$div\)$iprefix.*\$/\1/")$iprefix(eval $cmd)
|
||||
echo $i
|
||||
string unescape -- $i
|
||||
end
|
||||
case '*'
|
||||
for i in $prefix$iprefix(eval $cmd)
|
||||
echo $i
|
||||
string unescape -- $i
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user