diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Completion/Unix/Command/_mkdir | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 87d3369a3..013f9fa89 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/Completion/Unix/Command/_mkdir b/Completion/Unix/Command/_mkdir index 53536b01d..e4308c304 100644 --- a/Completion/Unix/Command/_mkdir +++ b/Completion/Unix/Command/_mkdir @@ -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:#(|*\))--*}//--[^ )]#/}/\( #\)/} ) ;; |