Add emacs local variables too

This commit is contained in:
Shohei YOSHIDA 2025-12-23 13:11:59 +09:00
parent 0db1486d27
commit 64484169e2
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 10 additions and 4 deletions

View File

@ -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