fix(completion): unescape strings for __fish_complete_list

This commit is contained in:
EmilyGraceSeville7cf 2024-09-17 07:39:06 +10:00 committed by Johannes Altmanninger
parent a9cee9e755
commit cd3da62d24

View File

@ -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