1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-26 18:01:03 +02:00

25452: redirect stderr from look to /dev/null.

This commit is contained in:
Clint Adams 2008-08-14 19:28:39 +00:00
parent 1395a5a70f
commit fcf8b81ec3
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2008-08-14 Clint Adams <clint@zsh.org>
* 25452: Completion/Unix/Command/_look: redirect stderr from look
to /dev/null.
2008-08-13 Peter Stephenson <p.w.stephenson@ntlworld.com>
* unposted: Test/V01zmodload.ztst: change consequent on having

View file

@ -11,6 +11,6 @@ _arguments -C -s \
':dictionary file:_files' && ret=0
[[ -n "$state" && ! -prefix - ]] && _wanted values expl 'word prefix' \
compadd - $(_call_program words $words[1] '"$PREFIX"') && return
compadd - $(_call_program words $words[1] '"$PREFIX"' 2>/dev/null) && return
return ret