about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-07-13 08:53:14 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-07-13 08:53:14 +0000
commit50f322298c0d2fbe6e31b70af45569aaf20d68c6 (patch)
treecbacf546ce59597c33b651476bc7752e6b67188a /Completion/Unix
parente9561d771fd496de1fd47cabe7c0579ba4c9bc48 (diff)
downloadzsh-50f322298c0d2fbe6e31b70af45569aaf20d68c6.tar.gz
zsh-50f322298c0d2fbe6e31b70af45569aaf20d68c6.tar.xz
zsh-50f322298c0d2fbe6e31b70af45569aaf20d68c6.zip
Jörg Sommer: 28063: suppress warning messages in rubber completion
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_rubber2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_rubber b/Completion/Unix/Command/_rubber
index 611425636..526abaaa8 100644
--- a/Completion/Unix/Command/_rubber
+++ b/Completion/Unix/Command/_rubber
@@ -2,7 +2,7 @@
 
 local _rubber_version _rubber_path _rubber_modules _rubber_args
 
-eval $(rubber --version | sed 's/^.* \([^ ]*\): */_rubber_\1=/')
+eval $(rubber --version 2>/dev/null | sed 's/^.* \([^ ]*\): */_rubber_\1=/')
 if [[ ${_rubber_version#0} != $_rubber_version ]]; then
   _rubber_modules=(
     $_rubber_path/rubber/modules/[^_]*.py(N:r:t)