1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

43723: _mkdir: fix builtin mkdir and support darwin

This commit is contained in:
Jun-ichi Takimoto 2018-10-24 17:36:15 +09:00
parent 4ad04eeb85
commit a4e435b873
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2018-10-24 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* 43723: Completion/Unix/Command/_mkdir: fix for builtin
mkdir, and add support for darwin
* 43722: Completion/Unix/Command/_ed,
Completion/Unix/Command/_env, Completion/Unix/Command/_sort:
use the same completions as freebsd for darwin.

View file

@ -26,7 +26,7 @@ fi
# Now $variant is set.
case $variant in
gnu|freebsd*|dragonfly*)
gnu|freebsd*|dragonfly*|darwin*)
args+=(
'(-v --verbose)'{-v,--verbose}'[print message for each created directory]'
)
@ -42,8 +42,6 @@ case $variant in
'(- :)--version[display version information]'
)
;;
zsh) # remove all options
;;
*) # non-GNU: remove long options
args=( ${${${args:#(|*\))--*}//--[^ )]#/}/\( #\)/} )
;;