diff options
| author | Aaron Schrab <aaron@schrab.com> | 2012-08-23 11:18:49 -0400 |
|---|---|---|
| committer | Aaron Schrab <aaron@schrab.com> | 2012-08-23 11:18:49 -0400 |
| commit | 3f55429b0e97ff2ba57781abd9b529ac89d186b6 (patch) | |
| tree | 4f15bcb124f631f79d67b3c5a29bd644f6557677 /src | |
| parent | Merge pull request #94 from aschrab/ack (diff) | |
| download | zsh-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/_ack | 11 | ||||
| -rw-r--r-- | src/_adb | 11 | ||||
| -rw-r--r-- | src/_android | 11 | ||||
| -rw-r--r-- | src/_baselayout | 11 | ||||
| -rw-r--r-- | src/_bpython | 13 | ||||
| -rw-r--r-- | src/_brew | 11 | ||||
| -rw-r--r-- | src/_bundle | 11 | ||||
| -rw-r--r-- | src/_cap | 11 | ||||
| -rw-r--r-- | src/_choc | 13 | ||||
| -rw-r--r-- | src/_coffee | 11 | ||||
| -rw-r--r-- | src/_cpanm | 10 | ||||
| -rw-r--r-- | src/_debuild | 11 | ||||
| -rw-r--r-- | src/_dhcpcd | 11 | ||||
| -rw-r--r-- | src/_ditz | 11 | ||||
| -rw-r--r-- | src/_emulator | 11 | ||||
| -rw-r--r-- | src/_eselect | 11 | ||||
| -rw-r--r-- | src/_fab | 11 | ||||
| -rw-r--r-- | src/_gcc-config | 11 | ||||
| -rw-r--r-- | src/_geany | 11 | ||||
| -rw-r--r-- | src/_gem | 11 | ||||
| -rw-r--r-- | src/_genlop | 11 | ||||
| -rw-r--r-- | src/_gentoo_packages | 11 | ||||
| -rw-r--r-- | src/_gentoolkit | 11 | ||||
| -rw-r--r-- | src/_git-flow | 11 | ||||
| -rw-r--r-- | src/_git-pulls | 11 | ||||
| -rw-r--r-- | src/_git-wtf | 11 | ||||
| -rw-r--r-- | src/_github | 11 | ||||
| -rw-r--r-- | src/_google | 13 | ||||
| -rw-r--r-- | src/_gradle | 11 | ||||
| -rw-r--r-- | src/_heroku | 11 | ||||
| -rw-r--r-- | src/_jmeter | 11 | ||||
| -rw-r--r-- | src/_jmeter-plugins | 11 | ||||
| -rw-r--r-- | src/_jonas | 11 | ||||
| -rw-r--r-- | src/_knife | 11 | ||||
| -rw-r--r-- | src/_language_codes | 11 | ||||
| -rw-r--r-- | src/_layman | 11 | ||||
| -rw-r--r-- | src/_lein | 11 | ||||
| -rw-r--r-- | src/_lunar | 11 | ||||
| -rw-r--r-- | src/_manage.py | 11 | ||||
| -rw-r--r-- | src/_mosh | 11 | ||||
| -rw-r--r-- | src/_mvn | 11 | ||||
| -rw-r--r-- | src/_node | 13 | ||||
| -rw-r--r-- | src/_optirun | 11 | ||||
| -rw-r--r-- | src/_pear | 11 | ||||
| -rw-r--r-- | src/_perf | 11 | ||||
| -rw-r--r-- | src/_periscope | 11 | ||||
| -rw-r--r-- | src/_pgsql_utils | 11 | ||||
| -rw-r--r-- | src/_pip | 11 | ||||
| -rw-r--r-- | src/_pkcon | 11 | ||||
| -rw-r--r-- | src/_play | 11 | ||||
| -rw-r--r-- | src/_portage | 11 | ||||
| -rw-r--r-- | src/_portage_utils | 11 | ||||
| -rw-r--r-- | src/_pygmentize | 11 | ||||
| -rw-r--r-- | src/_redis-cli | 11 | ||||
| -rw-r--r-- | src/_rvm | 11 | ||||
| -rw-r--r-- | src/_setup.py | 11 | ||||
| -rw-r--r-- | src/_showoff | 11 | ||||
| -rw-r--r-- | src/_smartmontools | 13 | ||||
| -rw-r--r-- | src/_ssh-copy-id | 11 | ||||
| -rw-r--r-- | src/_subliminal | 11 | ||||
| -rw-r--r-- | src/_symfony | 11 | ||||
| -rw-r--r-- | src/_teamocil | 11 | ||||
| -rw-r--r-- | src/_thor | 11 | ||||
| -rw-r--r-- | src/_tmuxinator | 13 | ||||
| -rw-r--r-- | src/_vagrant | 11 | ||||
| -rw-r--r-- | src/_virtualbox | 11 | ||||
| -rw-r--r-- | src/_vpnc | 11 |
67 files changed, 541 insertions, 207 deletions
@@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 |
