summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-08-14 19:28:39 +0000
committerClint Adams <clint@users.sourceforge.net>2008-08-14 19:28:39 +0000
commitfcf8b81ec3eb38d48327af8c0979f3520e738a0f (patch)
treefc6473c3d96084049a26ab62169ddb40c4202d17
parentunposted: test changed needed by foregoing patch (diff)
downloadzsh-fcf8b81ec3eb38d48327af8c0979f3520e738a0f.tar
zsh-fcf8b81ec3eb38d48327af8c0979f3520e738a0f.tar.gz
zsh-fcf8b81ec3eb38d48327af8c0979f3520e738a0f.tar.bz2
zsh-fcf8b81ec3eb38d48327af8c0979f3520e738a0f.tar.lz
zsh-fcf8b81ec3eb38d48327af8c0979f3520e738a0f.tar.xz
zsh-fcf8b81ec3eb38d48327af8c0979f3520e738a0f.tar.zst
zsh-fcf8b81ec3eb38d48327af8c0979f3520e738a0f.zip
25452: redirect stderr from look to /dev/null.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_look2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6fd6b460f..411ffe6f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
diff --git a/Completion/Unix/Command/_look b/Completion/Unix/Command/_look
index 94a90bc3f..24a016af4 100644
--- a/Completion/Unix/Command/_look
+++ b/Completion/Unix/Command/_look
@@ -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