summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Oteiza <mvoteiza@udel.edu>2014-01-07 13:33:40 -0500
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2014-01-07 19:25:32 +0000
commit3267b454d83892d4cc5cb0393d4d0586bdb0b5b7 (patch)
tree6cc09f24e2009c9f614067a6839fdd637fe2e44f
parent908ef4a279e79928abf02b251ef7008c8e188233 (diff)
downloadzsh-3267b454d83892d4cc5cb0393d4d0586bdb0b5b7.tar.gz
zsh-3267b454d83892d4cc5cb0393d4d0586bdb0b5b7.tar.xz
zsh-3267b454d83892d4cc5cb0393d4d0586bdb0b5b7.zip
32238: suppress error output completing after ip
-rw-r--r--Completion/Unix/Command/_ip2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_ip b/Completion/Unix/Command/_ip
index 0fc979cd3..f880f2683 100644
--- a/Completion/Unix/Command/_ip
+++ b/Completion/Unix/Command/_ip
@@ -40,7 +40,7 @@ subcmd_ipaddrs=(
 )
 subcmd_prefix_label=(
   /$'(<->(.<->(.<->(.<->|)|)|)|[:[:xdigit]]#:[:[:xdigit:]]#)(|/<->)\0'/
-  ":ipaddresslabel:IP addrlabel prefix currently set:( $(ip -6 addrlabel list | sed -n 's/^prefix \([0-9a-f\.:/]*\) .*$/\1/p') )"
+  ":ipaddresslabel:IP addrlabel prefix currently set:( $(ip -6 addrlabel list 2>/dev/null | sed -n 's/^prefix \([0-9a-f\.:/]*\) .*$/\1/p') )"
 )