about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_look2
1 files changed, 1 insertions, 1 deletions
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