1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-26 16:40:29 +01:00

52240: use work-var $s not $suffix when setting flags

This commit is contained in:
Sebastian Gniazdowski 2023-10-26 13:41:03 -07:00 committed by Bart Schaefer
parent 98a6892cb1
commit d86cc841f7
2 changed files with 4 additions and 1 deletions

View file

@ -193,7 +193,7 @@ if ! zsh-mime-contexts -s $suffix flags flags; then
# Same again for flags.
s=$suffix
while true; do
flags="${zsh_mime_flags[$suffix]}"
flags="${zsh_mime_flags[$s]}"
if [[ -n $flags ]]; then
break
fi