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:
parent
4ad04eeb85
commit
a4e435b873
2 changed files with 4 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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:#(|*\))--*}//--[^ )]#/}/\( #\)/} )
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue