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

Re: [PATCH] _ssh_hosts: abort early if in a path



> 2019/05/28 8:33、Phil Pennock <zsh-workers+phil.pennock@xxxxxxxxxxxx>のメール:
> 
> +case "$PREFIX" in
> +  ( /* | ./* )
> +    return
> +    ;;
> +esac

Isn't it better to "return 1"?

_ssh_hosts (before your patch) does not return 1 even if it can't 
find any matches. Maybe better to fix this also?



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