mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-11-24 18:14:19 +08:00
call completion function directly
This commit is contained in:
1 file changed
+2
-2
+2
-2
@@ -15,8 +15,8 @@ _xdg-mime_query() {
|
||||
"*::arg:->args"
|
||||
|
||||
case $line[1] in
|
||||
filetype) _arguments '*: :_files' ;;
|
||||
default) _arguments '*: :_mime_types' ;;
|
||||
filetype) _files ;;
|
||||
default) _mime_types ;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user