We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1178359 commit bbe2f09Copy full SHA for bbe2f09
completions/xdg-mime
@@ -9,7 +9,7 @@ _xdg_mime_mimetype()
9
command cd "$d" 2>/dev/null || exit 1
10
compgen -f -o plusdirs -X "!*.xml" -- "$cur"
11
)) || continue
12
- for i in "${!arr[*]}"; do
+ for i in "${!arr[@]}"; do
13
case ${arr[i]} in
14
packages*) unset -v "arr[i]" ;; # not a MIME type dir
15
*.xml) arr[i]=${arr[i]%.xml} ;;
0 commit comments