From e4aeb3b911d1909a4d150ec832159b97ebec2a40 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 17 Nov 2022 21:10:28 +0100 Subject: unposted (c.f. Norikatsu Shigemura: github #96): add missing local declaration --- Completion/Unix/Command/_cut | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Unix/Command/_cut b/Completion/Unix/Command/_cut index d3b1e2b10..29565280d 100644 --- a/Completion/Unix/Command/_cut +++ b/Completion/Unix/Command/_cut @@ -1,6 +1,7 @@ #compdef cut gcut typeset -A _cut_args +local -a args case $LANG in (de_DE.UTF-8) @@ -45,7 +46,7 @@ if _pick_variant gnu="Free Soft" unix --version; then '*:file:_files' else case $OSTYPE in - freebsd*|dragonfly*) args+=( '(-d)-w[use whitespace as the delimiter]' ) ;; + freebsd*|dragonfly*) args=( '(-d)-w[use whitespace as the delimiter]' ) ;; esac _arguments $args \ "-b[${_cut_args[bytes]}]:list" \ -- cgit 1.4.1