diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2023-10-03 18:51:39 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-03 18:51:39 +0900 |
| commit | 5e6f4da9671e06f73de3e23124cc12f9dcd3f2ed (patch) | |
| tree | 0e6b9432db03aa78a563163f1f200e43d535169f /src | |
| parent | Merge pull request #1045 from zsh-users/update_rails (diff) | |
| parent | Do not use global variable, use local variable instead (diff) | |
| download | zsh-completions-5e6f4da9671e06f73de3e23124cc12f9dcd3f2ed.tar zsh-completions-5e6f4da9671e06f73de3e23124cc12f9dcd3f2ed.tar.gz zsh-completions-5e6f4da9671e06f73de3e23124cc12f9dcd3f2ed.tar.bz2 zsh-completions-5e6f4da9671e06f73de3e23124cc12f9dcd3f2ed.tar.lz zsh-completions-5e6f4da9671e06f73de3e23124cc12f9dcd3f2ed.tar.xz zsh-completions-5e6f4da9671e06f73de3e23124cc12f9dcd3f2ed.tar.zst zsh-completions-5e6f4da9671e06f73de3e23124cc12f9dcd3f2ed.zip | |
Merge pull request #1046 from zsh-users/do-not-use-global-variable
Do not use global variable, use local variable instead
Diffstat (limited to 'src')
| -rw-r--r-- | src/_envdir | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/_envdir b/src/_envdir index 6437993..e452401 100644 --- a/src/_envdir +++ b/src/_envdir @@ -39,7 +39,7 @@ # # ------------------------------------------------------------------------------ -args=( +local -a args=( '(-h --help)'{-h+,--help}'[show this help message and exit]' '(-)'--version'[display version information and exit]' '(-)1:directory: _path_files -/' @@ -47,3 +47,11 @@ args=( '*::arguments: _precommand' ) _arguments -S $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 |
