mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-28 15:54:48 +00:00
Add emacs local variables too
This commit is contained in:
+10
-4
@@ -1,7 +1,7 @@
|
|||||||
#compdef xdg-mime
|
#compdef xdg-mime
|
||||||
|
|
||||||
# Description:
|
# Description:
|
||||||
# ZSH Completion for xdg-mime 1.2.1 from
|
# ZSH Completion for xdg-mime 1.2.1 from
|
||||||
# xdg-utils (https://gitlab.freedesktop.org/xdg/xdg-utils)
|
# xdg-utils (https://gitlab.freedesktop.org/xdg/xdg-utils)
|
||||||
#
|
#
|
||||||
# Authors:
|
# Authors:
|
||||||
@@ -10,7 +10,7 @@
|
|||||||
_xdg-mime_query() {
|
_xdg-mime_query() {
|
||||||
_arguments \
|
_arguments \
|
||||||
"1:Query Type:((
|
"1:Query Type:((
|
||||||
filetype\:'Returns mime-type of a file'
|
filetype\:'Returns mime-type of a file'
|
||||||
default\:'Returns default application for a mime-type'))" \
|
default\:'Returns default application for a mime-type'))" \
|
||||||
"*::arg:->args"
|
"*::arg:->args"
|
||||||
|
|
||||||
@@ -59,4 +59,10 @@ _xdg-mime() {
|
|||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
# vim: filetype=zsh expandtab softtabstop=2 tabstop=2 shiftwidth=2
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: filetype=zsh expandtab softtabstop=2 tabstop=2 shiftwidth=2
|
||||||
|
|||||||
Reference in New Issue
Block a user