mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Add editor settings to all files
This commit is contained in:
@@ -69,3 +69,10 @@ esac
|
|||||||
|
|
||||||
return $ret
|
return $ret
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
@@ -87,3 +87,11 @@ function _cask() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_cask "$@"
|
_cask "$@"
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
+10
-1
@@ -13,7 +13,16 @@
|
|||||||
#
|
#
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
_arguments -s '(- *)'{-h,--help}'[display this help and exit]' \
|
_arguments -s \
|
||||||
|
'(- *)'{-h,--help}'[display this help and exit]' \
|
||||||
'(- *)'{-v,--version}'[display version information and exit]' \
|
'(- *)'{-v,--version}'[display version information and exit]' \
|
||||||
{-t,--traditional}'[use traditional greeting]' \
|
{-t,--traditional}'[use traditional greeting]' \
|
||||||
{-g,--greeting=}'[use TEXT as the greeting message]:TEXT'
|
{-g,--greeting=}'[use TEXT as the greeting message]:TEXT'
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
@@ -284,3 +284,11 @@ while (( $#state )); do
|
|||||||
done
|
done
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
@@ -84,3 +84,11 @@ _kitchen_instances() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_kitchen "$@"
|
_kitchen "$@"
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
@@ -154,3 +154,11 @@ case $state in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
@@ -238,3 +238,11 @@ case $state in
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
@@ -106,3 +106,11 @@ _describe 'command' instances
|
|||||||
# Reference:
|
# Reference:
|
||||||
# https://zsh.sourceforge.net/Doc/Release/Completion-System.html
|
# https://zsh.sourceforge.net/Doc/Release/Completion-System.html
|
||||||
# https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org
|
# https://github.com/zsh-users/zsh-completions/blob/master/zsh-completions-howto.org
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
@@ -144,3 +144,11 @@ local options=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
_arguments $options "*::func_name:($func_names)"
|
_arguments $options "*::func_name:($func_names)"
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
+2
-2
@@ -121,10 +121,10 @@ _setcap_capabilities() {
|
|||||||
|
|
||||||
_setcap "$@"
|
_setcap "$@"
|
||||||
|
|
||||||
# Local variables:
|
# Local Variables:
|
||||||
# mode: Shell-Script
|
# mode: Shell-Script
|
||||||
# sh-indentation: 2
|
# sh-indentation: 2
|
||||||
# indent-tabs-mode: nil
|
# indent-tabs-mode: nil
|
||||||
# sh-basic-offset: 2
|
# sh-basic-offset: 2
|
||||||
# End:
|
# End:
|
||||||
# ex: sw=2 ts=2 et filetype=sh
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
@@ -23,3 +23,11 @@ local modes=('up\:"bring a wireguard interface up"'\
|
|||||||
# 2: Complete interface with all .conf files in /etc/wireguard without the filename extension.
|
# 2: Complete interface with all .conf files in /etc/wireguard without the filename extension.
|
||||||
_arguments "1:mode:((${modes}))"\
|
_arguments "1:mode:((${modes}))"\
|
||||||
'2:interface:_path_files -W /etc/wireguard -g "*.conf(^/:r)"'
|
'2:interface:_path_files -W /etc/wireguard -g "*.conf(^/:r)"'
|
||||||
|
|
||||||
|
# Local Variables:
|
||||||
|
# mode: Shell-Script
|
||||||
|
# sh-indentation: 2
|
||||||
|
# indent-tabs-mode: nil
|
||||||
|
# sh-basic-offset: 2
|
||||||
|
# End:
|
||||||
|
# vim: ft=zsh sw=2 ts=2 et
|
||||||
|
|||||||
Reference in New Issue
Block a user