aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Schrab <aaron@schrab.com>2012-08-23 11:18:49 -0400
committerAaron Schrab <aaron@schrab.com>2012-08-23 11:18:49 -0400
commit3f55429b0e97ff2ba57781abd9b529ac89d186b6 (patch)
tree4f15bcb124f631f79d67b3c5a29bd644f6557677 /src
parentMerge pull request #94 from aschrab/ack (diff)
downloadzsh-completions-3f55429b0e97ff2ba57781abd9b529ac89d186b6.tar
zsh-completions-3f55429b0e97ff2ba57781abd9b529ac89d186b6.tar.gz
zsh-completions-3f55429b0e97ff2ba57781abd9b529ac89d186b6.tar.bz2
zsh-completions-3f55429b0e97ff2ba57781abd9b529ac89d186b6.tar.lz
zsh-completions-3f55429b0e97ff2ba57781abd9b529ac89d186b6.tar.xz
zsh-completions-3f55429b0e97ff2ba57781abd9b529ac89d186b6.tar.zst
zsh-completions-3f55429b0e97ff2ba57781abd9b529ac89d186b6.zip
Move modelines to end of file
Having a vim modeline or emacs local variable line somewhere in the middle of the file isn't really helpful. By default, vim will only check the first and last 5 lines of a file for a modeline (assuming the modeline option is enabled). Emacs is even more strict about the type of local variable line that was in use, it will only check the first line of the file or the second line if the first line specifies a script interpreter (which isn't the case here). Move the vim modeline to the end of the file so that it can actually be found by vim but is out of the way for editing. For emacs more work is required, convert that to the more verbose Local Variables syntax which emacs will look for starting 3000 characters from the end of the file. Also there is no zsh mode for emacs (according to zsh-users/zsh-completions#75), use the "Shell-Script" mode instead. This seems to automatically detect that the files are for zsh. I'm not an emacs user, so I haven't tested that portion much. But, this does at least improve the syntax highlighting there.
Diffstat (limited to 'src')
-rw-r--r--src/_ack11
-rw-r--r--src/_adb11
-rw-r--r--src/_android11
-rw-r--r--src/_baselayout11
-rw-r--r--src/_bpython13
-rw-r--r--src/_brew11
-rw-r--r--src/_bundle11
-rw-r--r--src/_cap11
-rw-r--r--src/_choc13
-rw-r--r--src/_coffee11
-rw-r--r--src/_cpanm10
-rw-r--r--src/_debuild11
-rw-r--r--src/_dhcpcd11
-rw-r--r--src/_ditz11
-rw-r--r--src/_emulator11
-rw-r--r--src/_eselect11
-rw-r--r--src/_fab11
-rw-r--r--src/_gcc-config11
-rw-r--r--src/_geany11
-rw-r--r--src/_gem11
-rw-r--r--src/_genlop11
-rw-r--r--src/_gentoo_packages11
-rw-r--r--src/_gentoolkit11
-rw-r--r--src/_git-flow11
-rw-r--r--src/_git-pulls11
-rw-r--r--src/_git-wtf11
-rw-r--r--src/_github11
-rw-r--r--src/_google13
-rw-r--r--src/_gradle11
-rw-r--r--src/_heroku11
-rw-r--r--src/_jmeter11
-rw-r--r--src/_jmeter-plugins11
-rw-r--r--src/_jonas11
-rw-r--r--src/_knife11
-rw-r--r--src/_language_codes11
-rw-r--r--src/_layman11
-rw-r--r--src/_lein11
-rw-r--r--src/_lunar11
-rw-r--r--src/_manage.py11
-rw-r--r--src/_mosh11
-rw-r--r--src/_mvn11
-rw-r--r--src/_node13
-rw-r--r--src/_optirun11
-rw-r--r--src/_pear11
-rw-r--r--src/_perf11
-rw-r--r--src/_periscope11
-rw-r--r--src/_pgsql_utils11
-rw-r--r--src/_pip11
-rw-r--r--src/_pkcon11
-rw-r--r--src/_play11
-rw-r--r--src/_portage11
-rw-r--r--src/_portage_utils11
-rw-r--r--src/_pygmentize11
-rw-r--r--src/_redis-cli11
-rw-r--r--src/_rvm11
-rw-r--r--src/_setup.py11
-rw-r--r--src/_showoff11
-rw-r--r--src/_smartmontools13
-rw-r--r--src/_ssh-copy-id11
-rw-r--r--src/_subliminal11
-rw-r--r--src/_symfony11
-rw-r--r--src/_teamocil11
-rw-r--r--src/_thor11
-rw-r--r--src/_tmuxinator13
-rw-r--r--src/_vagrant11
-rw-r--r--src/_virtualbox11
-rw-r--r--src/_vpnc11
67 files changed, 541 insertions, 207 deletions
diff --git a/src/_ack b/src/_ack
index e669cd8..d0523b3 100644
--- a/src/_ack
+++ b/src/_ack
@@ -37,9 +37,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_ack() {
@@ -180,3 +177,11 @@ _ack_types_caching_policy() {
}
_ack "$@"
+
+# 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
diff --git a/src/_adb b/src/_adb
index e8a378a..a3e379a 100644
--- a/src/_adb
+++ b/src/_adb
@@ -38,9 +38,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_adb() {
@@ -410,3 +407,11 @@ _adb_remote_command_default() {
}
_adb "$@"
+
+# 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
diff --git a/src/_android b/src/_android
index 920b3f8..fcad746 100644
--- a/src/_android
+++ b/src/_android
@@ -38,9 +38,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_android() {
@@ -324,3 +321,11 @@ _android_sdk_update_filters() {
}
_android "$@"
+
+# 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
diff --git a/src/_baselayout b/src/_baselayout
index e6662de..32e513f 100644
--- a/src/_baselayout
+++ b/src/_baselayout
@@ -42,9 +42,6 @@
# * Mamoru Komachi <usata@usata.org>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
#<sys-apps/baselayout-1.12.11.1>
#
# Status:
@@ -161,3 +158,11 @@ case "$service" in
_rc "$@" && return 0
;;
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
diff --git a/src/_bpython b/src/_bpython
index 3ce52df..ed16ecd 100644
--- a/src/_bpython
+++ b/src/_bpython
@@ -34,9 +34,6 @@
# * Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_arguments -A "-*" \
'(-h --help)'{-h,--help}'[Show help message]' \
@@ -44,4 +41,12 @@ _arguments -A "-*" \
'(-q --quiet)'{-q,--quiet}"[Don't flush the output to stdout]" \
'(-V --version)'{-V,--version}'[Print version and exit]' \
'--config[Use CONFIG instead of default config file]:Config file:_files' \
- '*: :_files' \ No newline at end of file
+ '*: :_files'
+
+# 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
diff --git a/src/_brew b/src/_brew
index d374cca..682f712 100644
--- a/src/_brew
+++ b/src/_brew
@@ -19,9 +19,6 @@
# * Erik Kastner (https://github.com/kastner)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_brew_all_formulae() {
@@ -99,3 +96,11 @@ case "$words[1]" in
_brew_installed_formulae
_wanted installed_formulae expl 'installed formulae' compadd -a installed_formulae ;;
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
diff --git a/src/_bundle b/src/_bundle
index e07acf5..ab0657e 100644
--- a/src/_bundle
+++ b/src/_bundle
@@ -12,9 +12,6 @@
# * Bruno Michel (https://github.com/nono)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local curcontext="$curcontext" state line _gems _opts ret=1
@@ -83,3 +80,11 @@ case $state in
esac
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
diff --git a/src/_cap b/src/_cap
index 6ed1287..b6def37 100644
--- a/src/_cap
+++ b/src/_cap
@@ -12,9 +12,6 @@
# * Bruno Michel (https://github.com/nono)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local curcontext="$curcontext" state line cmds ret=1
@@ -49,3 +46,11 @@ case $state in
esac
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
diff --git a/src/_choc b/src/_choc
index cba20c2..3ac8c59 100644
--- a/src/_choc
+++ b/src/_choc
@@ -37,9 +37,6 @@
# * Nicholas Penree (https://github.com/drudge)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local curcontext="$curcontext" state line ret=1
typeset -A opt_args
@@ -52,4 +49,12 @@ _arguments -C \
'(-v --version)'{-v,--version}'[print version information]' \
'*:script or directory:_files' && ret=0
-return ret \ No newline at end of file
+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
diff --git a/src/_coffee b/src/_coffee
index 27c38c8..5c8eb9a 100644
--- a/src/_coffee
+++ b/src/_coffee
@@ -37,9 +37,6 @@
# * Mario Fernandez (https://github.com/sirech)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local curcontext="$curcontext" state line ret=1
typeset -A opt_args
@@ -64,3 +61,11 @@ _arguments -C \
'*:script or directory:_files' && ret=0
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
diff --git a/src/_cpanm b/src/_cpanm
index 2dfba66..a1a6210 100644
--- a/src/_cpanm
+++ b/src/_cpanm
@@ -14,9 +14,6 @@
# * Ryushi (https://github.com/rshhh)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local arguments curcontext="$curcontext"
@@ -75,3 +72,10 @@ _arguments -s $arguments \
return 1
+# 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
diff --git a/src/_debuild b/src/_debuild
index 73e3704..e2c5b62 100644
--- a/src/_debuild
+++ b/src/_debuild
@@ -39,9 +39,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
# FIXME --noconf is only allowed in first position
@@ -58,3 +55,11 @@ _arguments \
'(-d)-D[force checking of build dependencies]' \
'--check-dirname-level[how much to check directory names]:level:((0\:never 1\:only\ if\ program\ changes\ directory\ \(default\) 2\:always))' \
'--check-dirname-regex[Perl regex defining matching directory names, the string PACKAGE will be replaced by the package name (default: '\''PACKAGE(-.+)?'\'')]:regex'
+
+# 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
diff --git a/src/_dhcpcd b/src/_dhcpcd
index 5f7ea05..64e176b 100644
--- a/src/_dhcpcd
+++ b/src/_dhcpcd
@@ -37,9 +37,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_arguments \
@@ -71,3 +68,11 @@ _arguments \
'(-R --nodns)'{-R,--nodns}'[don'\''t send DNS information to resolvconf or touch /etc/resolv.conf]' \
'(-T --test)'{-T,--test}'[on receipt of discover messages, simply print the contents of the DHCP message to the console]' \
'(-Y --nonis)'{-Y,--nonis}'[don'\''t touch /etc/yp.conf or restart the ypbind service]'
+
+# 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
diff --git a/src/_ditz b/src/_ditz
index b96f111..70cf552 100644
--- a/src/_ditz
+++ b/src/_ditz
@@ -14,9 +14,6 @@
# * technolize (https://github.com/technolize)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local ME=ditz
@@ -46,3 +43,11 @@ else
;;
esac
fi
+
+# 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
diff --git a/src/_emulator b/src/_emulator
index c9945c4..ae86717 100644
--- a/src/_emulator
+++ b/src/_emulator
@@ -38,9 +38,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
typeset -A opt_args
@@ -132,3 +129,11 @@ _arguments \
'-qemu[pass arguments to qemu]:arguments' \
'-verbose[same as '\''-debug-init'\'']' \
'*'{-debug,-debug-,-debug-no-}'[enable/disable specific debug messages]:tag'
+
+# 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
diff --git a/src/_eselect b/src/_eselect
index f734c35..7c59407 100644
--- a/src/_eselect
+++ b/src/_eselect
@@ -43,9 +43,6 @@
# * Mamoru Komachi <usata@usata.org>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
#<app-admin/eselect-1.0.11>
#
@@ -200,3 +197,11 @@ _eselect () {
}
_eselect "$@"
+
+# 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
diff --git a/src/_fab b/src/_fab
index 0bb1196..59b08f1 100644
--- a/src/_fab
+++ b/src/_fab
@@ -14,9 +14,6 @@
# * Valerii Hiora (https://github.com/vhbit)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local curcontext=$curcontext state line
@@ -76,3 +73,11 @@ if [[ CURRENT -ge 1 ]]; then
return
fi
+
+# 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
diff --git a/src/_gcc-config b/src/_gcc-config
index 91bc9fd..ccac8ef 100644
--- a/src/_gcc-config
+++ b/src/_gcc-config
@@ -42,9 +42,6 @@
# * Mamoru Komachi <usata@usata.org>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
#<sys-devel/gcc-config-0.0>
local arguments
@@ -71,3 +68,11 @@ _gcc_profile () {
}
_arguments $arguments
+
+# 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
diff --git a/src/_geany b/src/_geany
index 37ed492..b55bd5c 100644
--- a/src/_geany
+++ b/src/_geany
@@ -37,9 +37,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_arguments \
@@ -66,3 +63,11 @@ _arguments \
'(-v --verbose)'{-v,--verbose}'[Be verbose]' \
'(--display)--display[X display to use]:X display:_x_display' \
'*: :_files'
+
+# 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
diff --git a/src/_gem b/src/_gem
index 9ae642f..69e0e43 100644
--- a/src/_gem
+++ b/src/_gem
@@ -14,9 +14,6 @@
# * Alex Vollmer (https://github.com/alexvollmer)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_gem() {
@@ -454,3 +451,11 @@ _gem_which() {
"(-g --no-gems-first)"{-g,--no-gems-first}"[search gems before non-gems]" \
$gem_general_flags && ret=0
}
+
+# 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
diff --git a/src/_genlop b/src/_genlop
index 8243154..182af0f 100644
--- a/src/_genlop
+++ b/src/_genlop
@@ -42,9 +42,6 @@
# * Mamoru Komachi <usata@usata.org>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
#<app-portage/genlop-0.30.8>
@@ -148,3 +145,11 @@ _genlop_months() {
elif [[ ${month} == 12 ]] then compadd $j $f $m $a $M $ju $J $A $s $o $n $d
fi
}
+
+# 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
diff --git a/src/_gentoo_packages b/src/_gentoo_packages
index 1f58965..e06b319 100644
--- a/src/_gentoo_packages
+++ b/src/_gentoo_packages
@@ -43,9 +43,6 @@
# * Mamoru Komachi <usata@usata.org>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
#Usage: _gentoo_packages installed|available|installed_versions|available_versions|binary|category|useflag|overlays|sets|licenses
# List installed overlays
@@ -222,3 +219,11 @@ _gentoo_packages () {
}
_gentoo_packages "$@"
+
+# 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
diff --git a/src/_gentoolkit b/src/_gentoolkit
index 346b499..bda1e7d 100644
--- a/src/_gentoolkit
+++ b/src/_gentoolkit
@@ -43,9 +43,6 @@
# * Mamoru Komachi <usata@usata.org>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
#<app-portage/gentoolkit-0.2.4-rc3>
#
# Status:
@@ -403,3 +400,11 @@ case "$service" in
_revdep-rebuild "$@" && return 0
;;
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
diff --git a/src/_git-flow b/src/_git-flow
index 6472117..f3f4f24 100644
--- a/src/_git-flow
+++ b/src/_git-flow
@@ -17,9 +17,6 @@
# * Zifei Tong (https://github.com/chevalun)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_git-flow ()
@@ -332,3 +329,11 @@ __git_command_successful () {
}
_git-flow "$@"
+
+# 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
diff --git a/src/_git-pulls b/src/_git-pulls
index 36a9a50..88fb8a8 100644
--- a/src/_git-pulls
+++ b/src/_git-pulls
@@ -37,9 +37,6 @@
# * Julien Nicoulaud (https://github.com/nicoulaj)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_git-pulls() {
@@ -101,3 +98,11 @@ _git-pulls_pull_requests_numbers() {
}
_git-pulls "$@"
+
+# 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
diff --git a/src/_git-wtf b/src/_git-wtf
index e2d57c4..e909235 100644
--- a/src/_git-wtf
+++ b/src/_git-wtf
@@ -38,9 +38,6 @@
# * Mario Fernandez (https://github.com/sirech)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_arguments -w -C -s \
'(--long --short)'{-l,--long}'[include author info and date for each commit]' \
@@ -51,3 +48,11 @@ _arguments -w -C -s \
'(--relations)'{-r,--relations}'[show relation to features / integration branches]' \
'(--dump-config)--dump-config[print out current configuration and exit]' \
'*: :__git_branch_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
diff --git a/src/_github b/src/_github
index f27190b..3e98356 100644
--- a/src/_github
+++ b/src/_github
@@ -37,9 +37,6 @@
# * Julien Nicoulaud (https://github.com/nicoulaj)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_github() {
@@ -265,3 +262,11 @@ _github_network_commits() {
}
_github "$@"
+
+# 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
diff --git a/src/_google b/src/_google
index 82f8508..ca1987f 100644
--- a/src/_google
+++ b/src/_google
@@ -15,9 +15,6 @@
# * Ben O'Hara (https://github.com/benohara)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_google() {
# init variables
@@ -61,4 +58,12 @@ _google() {
esac
}
-_google "$@" \ No newline at end of file
+_google "$@"
+
+# 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
diff --git a/src/_gradle b/src/_gradle
index 7f7442a..f2a5cec 100644
--- a/src/_gradle
+++ b/src/_gradle
@@ -39,9 +39,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_gradle() {
@@ -128,3 +125,11 @@ _gradle_property_names() {
}
_gradle "$@"
+
+# 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
diff --git a/src/_heroku b/src/_heroku
index 388ee6b..820cfe1 100644
--- a/src/_heroku
+++ b/src/_heroku
@@ -12,9 +12,6 @@
# * Ali B. (http://awhitebox.com)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local -a _1st_arguments
_1st_arguments=(
@@ -167,3 +164,11 @@ _arguments \
$_command_args \
'(--app)--app[the app name]' \
&& return 0
+
+# 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
diff --git a/src/_jmeter b/src/_jmeter
index ab873b5..762747b 100644
--- a/src/_jmeter
+++ b/src/_jmeter
@@ -39,9 +39,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_arguments \
@@ -67,3 +64,11 @@ _arguments \
{-R,--remotestart}'[start these remote servers (overrides remote_hosts)]:remote servers list' \
{-d,--homedir}'[the JMeter home directory to use]: :_files -/' \
{-X,--remoteexit}'[exit the remote servers at end of test (non-GUI)]'
+
+# 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
diff --git a/src/_jmeter-plugins b/src/_jmeter-plugins
index b1ffa7a..8c466ac 100644
--- a/src/_jmeter-plugins
+++ b/src/_jmeter-plugins
@@ -38,9 +38,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_arguments \
@@ -60,3 +57,11 @@ _arguments \
'--limit-rows[limit number of points in row]:number of points' \
'--force-y[force Y axis limit]:limit' \
'--hide-low-counts[hide points with sample count below limit]:limit'
+
+# 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
diff --git a/src/_jonas b/src/_jonas
index bd75c38..6aeb879 100644
--- a/src/_jonas
+++ b/src/_jonas
@@ -37,9 +37,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
typeset -A opt_args
@@ -118,3 +115,11 @@ case "$state" in
esac
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
diff --git a/src/_knife b/src/_knife
index 989e892..993454b 100644
--- a/src/_knife
+++ b/src/_knife
@@ -14,9 +14,6 @@
# * Frank Louwers (https://github.com/franklouwers)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
# knife has a very special syntax, some example calls are:
@@ -192,3 +189,11 @@ _cookbook_versions() {
}
_knife "$@"
+
+# 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
diff --git a/src/_language_codes b/src/_language_codes
index 5388b1d..19322ac 100644
--- a/src/_language_codes
+++ b/src/_language_codes
@@ -39,9 +39,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
(( $+functions[_language_codes_iso_639_1] )) ||
@@ -268,3 +265,11 @@ _language_codes() {
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
diff --git a/src/_layman b/src/_layman
index a1aab02..099ab57 100644
--- a/src/_layman
+++ b/src/_layman
@@ -42,9 +42,6 @@
# * Mamoru Komachi <usata@usata.org>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
#<app-portage/layman-1.1.1>
#
@@ -96,3 +93,11 @@ actions_args=(
)
_arguments $global_opts[@] $actions_args[@]
+
+# 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
diff --git a/src/_lein b/src/_lein
index 39b5c3b..9d2be1e 100644
--- a/src/_lein
+++ b/src/_lein
@@ -14,9 +14,6 @@
# * technolize (https://github.com/technolize)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local ret=1 state
@@ -42,3 +39,11 @@ case $state in
esac
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
diff --git a/src/_lunar b/src/_lunar
index 51be984..19b4832 100644
--- a/src/_lunar
+++ b/src/_lunar
@@ -14,9 +14,6 @@
# * Valodim (https://github.com/Valodim)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
# completion for lunar itself (different name, see below)
@@ -307,3 +304,11 @@ _lunar() {
}
_lunar "$@"
+
+# 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
diff --git a/src/_manage.py b/src/_manage.py
index 4d28099..833e5b5 100644
--- a/src/_manage.py
+++ b/src/_manage.py
@@ -14,9 +14,6 @@
# * technolize (https://github.com/technolize)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_managepy-adminindex(){
@@ -238,3 +235,11 @@ _manage.py() {
}
_manage.py "$@"
+
+# 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
diff --git a/src/_mosh b/src/_mosh
index c617f55..f0c8a9d 100644
--- a/src/_mosh
+++ b/src/_mosh
@@ -14,9 +14,6 @@
# * Ben O'Hara (https://github.com/benohara)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_arguments \
'--client=:client helper:_command_names -e' \
@@ -28,3 +25,11 @@ _arguments \
{-p,--port=}':port:_ports' \
':remote:_hosts' \
':remote command:_command_names -e'
+
+# 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
diff --git a/src/_mvn b/src/_mvn
index 1d10689..bf93c9e 100644
--- a/src/_mvn
+++ b/src/_mvn
@@ -68,9 +68,6 @@
# zstyle ':completion:*:*:mvn:*:warnings' format $'\e[1m -- No matches found --\e[22m'
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_mvn() {
@@ -621,3 +618,11 @@ _mvn_profiles_caching_policy() {
}
_mvn "$@"
+
+# 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
diff --git a/src/_node b/src/_node
index a32e6b6..f9ef3c7 100644
--- a/src/_node
+++ b/src/_node
@@ -38,9 +38,6 @@
# * Nicholas Penree (https://github.com/drudge)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local curcontext="$curcontext" state line ret=1
typeset -A opt_args
@@ -58,4 +55,12 @@ _arguments -C \
'(--vars)--vars[print various compiled-in variables]' \
'*:JS Script:_files -g "*.js"' && ret=0
-return ret \ No newline at end of file
+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
diff --git a/src/_optirun b/src/_optirun
index 2c05992..a25424d 100644
--- a/src/_optirun
+++ b/src/_optirun
@@ -38,9 +38,6 @@
# * Christophe-Marie Duquesne <chm.duquesne@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local curcontext="$curcontext" state line
typeset -A opt_args
@@ -65,3 +62,11 @@ arguments=(
)
_arguments $arguments
+
+# 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
diff --git a/src/_pear b/src/_pear
index a7eecaf..86f368f 100644
--- a/src/_pear
+++ b/src/_pear
@@ -12,9 +12,6 @@
# * aki77 (https://github.com/aki77)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_pear () {
@@ -82,3 +79,11 @@ _pear_discovered_channels () {
}
_pear "$@"
+
+# 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
diff --git a/src/_perf b/src/_perf
index 7790bbf..bf5898d 100644
--- a/src/_perf
+++ b/src/_perf
@@ -37,9 +37,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_perf() {
@@ -272,3 +269,11 @@ _perf_cmds() {
}
_perf "$@"
+
+# 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
diff --git a/src/_periscope b/src/_periscope
index 4ea182d..1d950b4 100644
--- a/src/_periscope
+++ b/src/_periscope
@@ -37,9 +37,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_arguments \
@@ -54,3 +51,11 @@ _arguments \
'--quiet[run in quiet mode (only show warn and error messages)]' \
'--debug[set the logging level to debug]' \
'*: :_files'
+
+# 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
diff --git a/src/_pgsql_utils b/src/_pgsql_utils
index 899e6f7..bdad9c8 100644
--- a/src/_pgsql_utils
+++ b/src/_pgsql_utils
@@ -16,9 +16,6 @@
# * Johann 'Myrkraverk' Oskarsson <johann@2ndquadrant.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_pgsql_get_identity () {
@@ -264,3 +261,11 @@ _pgsql_utils () {
}
_pgsql_utils "$@"
+
+# 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
diff --git a/src/_pip b/src/_pip
index 46fc486..7b7a8b1 100644
--- a/src/_pip
+++ b/src/_pip
@@ -14,9 +14,6 @@
# * technolize (https://github.com/technolize)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local ret=1 state
@@ -118,3 +115,11 @@ case $state in
esac
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
diff --git a/src/_pkcon b/src/_pkcon
index 5f2235a..440a7fe 100644
--- a/src/_pkcon
+++ b/src/_pkcon
@@ -34,9 +34,6 @@
# * Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local -a options
@@ -130,3 +127,11 @@ case "$cmd" in
;;
esac
return 1
+
+# 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
diff --git a/src/_play b/src/_play
index d2f2951..a574606 100644
--- a/src/_play
+++ b/src/_play
@@ -38,9 +38,6 @@
# * Mario Fernandez (https://github.com/sirech)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_play() {
@@ -208,3 +205,11 @@ _play_colon_dirs_list() {
}
_play "$@"
+
+# 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
diff --git a/src/_portage b/src/_portage
index e03f095..e2d4b9a 100644
--- a/src/_portage
+++ b/src/_portage
@@ -44,9 +44,6 @@
# * Mamoru Komachi <usata@usata.org>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
#<sys-apps/portage-2.1.4.4>
# TODO: <sys-apps/portage-2.2_aplha*> (sets, some other candies)
#
@@ -351,3 +348,11 @@ case "$service" in
_tbz2tool "$@" && return 0
;;
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
diff --git a/src/_portage_utils b/src/_portage_utils
index 6d892c3..2a45b84 100644
--- a/src/_portage_utils
+++ b/src/_portage_utils
@@ -43,9 +43,6 @@
# * Mamoru Komachi <usata@usata.org>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
#<app-portage/portage-utils-0.19>
#
@@ -187,3 +184,11 @@ qxpak)
;;
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
diff --git a/src/_pygmentize b/src/_pygmentize
index 6d2594f..bc62304 100644
--- a/src/_pygmentize
+++ b/src/_pygmentize
@@ -37,9 +37,6 @@
# * Hideo Hattori <hhatto.jp@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_pygmentize() {
local context state line
@@ -140,3 +137,11 @@ _pygmentize_caching_policy() {
}
_pygmentize "$@"
+
+# 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
diff --git a/src/_redis-cli b/src/_redis-cli
index c3657e6..db23ea3 100644
--- a/src/_redis-cli
+++ b/src/_redis-cli
@@ -14,9 +14,6 @@
# * Alexandru Totolici (https://github.com/totolici)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local -a _1st_arguments
@@ -156,3 +153,11 @@ if (( CURRENT == 1 )); then
_describe -t commands "redis-cli subcommand" _1st_arguments
return
fi
+
+# 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
diff --git a/src/_rvm b/src/_rvm
index a252786..d1304a1 100644
--- a/src/_rvm
+++ b/src/_rvm
@@ -14,9 +14,6 @@
# * Bruno Michel (https://github.com/nono)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local curcontext="$curcontext" state line cmds ret=1
@@ -116,3 +113,11 @@ case $state in
esac
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
diff --git a/src/_setup.py b/src/_setup.py
index e5bbbda..c1ea942 100644
--- a/src/_setup.py
+++ b/src/_setup.py
@@ -12,9 +12,6 @@
# * Hideo Hattori (https://github.com/hhatto)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_setup.py() {
typeset -A opt_args
@@ -701,3 +698,11 @@ _setuppy_upload_docs() {
}
_setup.py "$@"
+
+# 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
diff --git a/src/_showoff b/src/_showoff
index 0ba0f36..8a0104f 100644
--- a/src/_showoff
+++ b/src/_showoff
@@ -12,9 +12,6 @@
# * Bruno Michel (https://github.com/nono)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local curcontext="$curcontext" state line cmds ret=1
@@ -77,3 +74,11 @@ case $state in
esac
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
diff --git a/src/_smartmontools b/src/_smartmontools
index ccebcaf..d909508 100644
--- a/src/_smartmontools
+++ b/src/_smartmontools
@@ -34,9 +34,6 @@
# * Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_smartctl() {
local context state line expl
@@ -107,4 +104,12 @@ _smartmontools() {
return ret
}
-_smartmontools "$@" \ No newline at end of file
+_smartmontools "$@"
+
+# 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
diff --git a/src/_ssh-copy-id b/src/_ssh-copy-id
index bea9225..1130b25 100644
--- a/src/_ssh-copy-id
+++ b/src/_ssh-copy-id
@@ -37,9 +37,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
# FIXME This completes "user@host" and not "[user@]host" ("user@" is optional),
@@ -48,3 +45,11 @@
_arguments -A "-*" \
'-i+[use identity file]:SSH identity file:_files' \
'1: :_user_at_host'
+
+# 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
diff --git a/src/_subliminal b/src/_subliminal
index e67acd9..73f097a 100644
--- a/src/_subliminal
+++ b/src/_subliminal
@@ -37,9 +37,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_arguments \
@@ -56,3 +53,11 @@ _arguments \
'(--no-cache-dir)--cache-dir[cache directory to use]: :_files -/' \
'(--cache-dir)--no-cache-dir[do not use cache directory]' \
'*: :_files'
+
+# 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
diff --git a/src/_symfony b/src/_symfony
index 994a874..ff23aad 100644
--- a/src/_symfony
+++ b/src/_symfony
@@ -12,9 +12,6 @@
# * aki77 (https://github.com/aki77)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_symfony () {
@@ -449,3 +446,11 @@ _get_sf_cache_var () {
}
_symfony "$@"
+
+# 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
diff --git a/src/_teamocil b/src/_teamocil
index d333402..4a53da4 100644
--- a/src/_teamocil
+++ b/src/_teamocil
@@ -38,9 +38,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_arguments \
@@ -48,3 +45,11 @@ _arguments \
'--layout[specify a custom file path to a YAML layout file]:teamocil layout file:_files -g "*.yml"' \
'--edit[open the layout file (whether or not --layout is used) with $EDITOR]' \
'1:teamocil layout:_files -W ~/.teamocil -g "*.yml(: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
diff --git a/src/_thor b/src/_thor
index 7a07732..62e56a3 100644
--- a/src/_thor
+++ b/src/_thor
@@ -14,10 +14,15 @@
# * Andrew Hodges (https://github.com/betawaffle)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
# FIXME This should be rewritten using up-to-date ZSH completion API.
compadd `thor list | grep thor | cut -d " " -f 2`
+
+# 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
diff --git a/src/_tmuxinator b/src/_tmuxinator
index 75d6ab3..ab69bfa 100644
--- a/src/_tmuxinator
+++ b/src/_tmuxinator
@@ -15,9 +15,6 @@
# * Ben O'Hara (https://github.com/benohara)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_tmuxinator() {
local -a projects
@@ -52,4 +49,12 @@ _tmuxinator() {
return 0
}
-_tmuxinator \ No newline at end of file
+_tmuxinator
+
+# 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
diff --git a/src/_vagrant b/src/_vagrant
index af4f3dd..07b69e0 100644
--- a/src/_vagrant
+++ b/src/_vagrant
@@ -14,9 +14,6 @@
# * Nikita Fedyashev (https://github.com/nfedyashev)
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
local -a _1st_arguments
@@ -125,3 +122,11 @@ case $state in
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
diff --git a/src/_virtualbox b/src/_virtualbox
index f360bcd..646711a 100644
--- a/src/_virtualbox
+++ b/src/_virtualbox
@@ -35,9 +35,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
_vboxmachines() {
@@ -310,3 +307,11 @@ _virtualbox() {
}
_virtualbox "$@"
+
+# 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
diff --git a/src/_vpnc b/src/_vpnc
index 62222b1..18096f1 100644
--- a/src/_vpnc
+++ b/src/_vpnc
@@ -37,9 +37,6 @@
# * Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# ------------------------------------------------------------------------------
-# -*- mode: zsh; sh-indentation: 2; indent-tabs-mode: nil; sh-basic-offset: 2; -*-
-# vim: ft=zsh sw=2 ts=2 et
-# ------------------------------------------------------------------------------
(( $+functions[_vpnc-connect] )) ||
@@ -200,3 +197,11 @@ case $service in
vpnc|vpnc-connect) _call_function ret _vpnc-connect && return ret ;;
vpnc-disconnect) _call_function ret _vpnc-disconnect && return ret ;;
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