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:
parent
98a6892cb1
commit
d86cc841f7
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue