about summary refs log tree commit diff
path: root/Completion/Unix/Command/_tar
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-02-14 13:10:06 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2016-02-14 13:10:06 -0800
commit485cbbb6cc6ac9d7c13a8268b3574829026f3797 (patch)
tree2c4adfb2b4917ff6854136637855b974a1a63269 /Completion/Unix/Command/_tar
parente54578ff74754b70e230106d292eb645f61176f1 (diff)
downloadzsh-485cbbb6cc6ac9d7c13a8268b3574829026f3797.tar.gz
zsh-485cbbb6cc6ac9d7c13a8268b3574829026f3797.tar.xz
zsh-485cbbb6cc6ac9d7c13a8268b3574829026f3797.zip
37972: Redirect stderr to /dev/null in cases where ${~param} might generate errors
Diffstat (limited to 'Completion/Unix/Command/_tar')
-rw-r--r--Completion/Unix/Command/_tar2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_tar b/Completion/Unix/Command/_tar
index 1e99ac013..4a2404873 100644
--- a/Completion/Unix/Command/_tar
+++ b/Completion/Unix/Command/_tar
@@ -79,7 +79,7 @@ else
     tf=${~words[tmp+1]}
     _tar_cmd="f$_tar_cmd"
   fi
-fi
+fi 2>/dev/null
 
 # See if we should use a path prefix.  We have to use eval as the dir can
 # be any unevaluated thing which appears on the command line, including a