On Thu, Oct 9, 2014 at 6:09 AM, Linda A. Walsh <b...@tlinx.org> wrote: > Currently this function is used all over the place: > > #have() { unset -v have > # # Completions for system administrator commands are installed as well > in > # # case completion is attempted via `sudo command ...'. > # PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin type $1 &>/dev/null && > # have="yes" > ----
BTW that's not what the have() function looks like in recent bash-completion. I suppose you're using an old version. http://anonscm.debian.org/cgit/bash-completion/bash-completion.git/tree/bash_completion#n125 _______________________________________________ Bash-completion-devel mailing list Bash-completion-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-devel