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

Re: [PATCH] _add-zle-hook-widget: New completion.



One other remark:

On Jul 17,  3:00pm, Daniel Shahaf wrote:
}
} +    _wanted widgets expl widget compadd -M 'r:|-=* r:|=*' -k widgets && ret=0 && return 0

Better might be

  local -a user_widgets=( ${(k)widgets[(R)user:*]} )
  _wanted widgets expl widget compadd -M 'r:|-=* r:|=*' -a user_widgets && ret=0 && return 0



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