Add editor settings to all files
This commit is contained in:
parent
32210c83c5
commit
7ea6b7a971
|
|
@ -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
|
||||||
|
|
|
||||||
11
src/_hello
11
src/_hello
|
|
@ -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
|
||||||
|
|
|
||||||
8
src/_mix
8
src/_mix
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue