Skip to content

Commit

Permalink
unposted (c.f. Norikatsu Shigemura: github zsh-users#96): add missing…
Browse files Browse the repository at this point in the history
… local declaration
  • Loading branch information
Oliver Kiddle committed Nov 17, 2022
1 parent dbefe08 commit e4aeb3b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
2022-11-17 Oliver Kiddle <opk@zsh.org>

* unposted (c.f. Norikatsu Shigemura: github #96):
Completion/Unix/Command/_cut: add missing local declaration

* github #87: Matt Koscica: Completion/Unix/Command/_tmux:
update options tmux 3.4

Expand Down
3 changes: 2 additions & 1 deletion Completion/Unix/Command/_cut
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#compdef cut gcut

typeset -A _cut_args
local -a args

case $LANG in
(de_DE.UTF-8)
Expand Down Expand Up @@ -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" \
Expand Down

0 comments on commit e4aeb3b

Please sign in to comment.