Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: Remove _message call from _mkdir



On Sun, 12 Apr 2015 12:46:28 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Unless someone has a better suggestion?
> 
> diff --git a/Completion/Unix/Command/_mkdir b/Completion/Unix/Command/_mkdir
> index b5f7519..58d6c74 100644
> --- a/Completion/Unix/Command/_mkdir
> +++ b/Completion/Unix/Command/_mkdir
> @@ -61,7 +61,7 @@ case "$state" in
>        [[ $variant == zsh && ${#${${words[2,-1]}:#-*}} -gt 0 ]]; then
>        _wanted directories expl \
>          'parent directory (alternatively specify name of directory)' \
> -        _path_files -/ && ret=0 || _message 'name of directory'
> +        _path_files -/ && ret=0
>      fi
>      ;;
>  esac

I'm not really sure what that was doing there in this one case, anyway.

pws



Messages sorted by: Reverse Date, Date, Thread, Author