about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-07-20 16:13:20 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-07-20 16:13:20 +0000
commitaa78d3981141a322cdff25c19eef83ba7f08ce2f (patch)
tree5e7378aa1918967a33b18df4588c495bfa6bbabb /Completion/User
parented263e32f9f2991e2854c15df525061004559ac0 (diff)
downloadzsh-aa78d3981141a322cdff25c19eef83ba7f08ce2f.tar.gz
zsh-aa78d3981141a322cdff25c19eef83ba7f08ce2f.tar.xz
zsh-aa78d3981141a322cdff25c19eef83ba7f08ce2f.zip
Discard stderr of a command subst.
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_cvs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_cvs b/Completion/User/_cvs
index 8e0a4fbb4..110b2520b 100644
--- a/Completion/User/_cvs
+++ b/Completion/User/_cvs
@@ -748,7 +748,7 @@ _cvs_modified_entries () {
     linedir="$match[1]"
     realdir=${(e)~linedir}
     [[ -f "$realdir"CVS/Entries ]] &&
-    [[ -n ${pat::="${(@j:|:)${(@)${(@)${(@)${(@)${(@)${(@M)${(@f)"$(<"$realdir"CVS/Entries)"}:#/*}#/}/\\/[^\\/]#\\///}%/[^/]#/[^/]#}:#${(j:|:)~${${${${(f)"$(LC_ALL=C builtin stat -gn +mtime -F '%a %b %e %T %Y' ${realdir}*(D))"}##*/}/ //}//(#m)[][*?()<|^~#\\]/\\$MATCH}}}%%/*}//(#m)[][*?()<|^~#\\]/\\$MATCH}"} ]] &&
+    [[ -n ${pat::="${(@j:|:)${(@)${(@)${(@)${(@)${(@)${(@M)${(@f)"$(<"$realdir"CVS/Entries)"}:#/*}#/}/\\/[^\\/]#\\///}%/[^/]#/[^/]#}:#${(j:|:)~${${${${(f)"$(LC_ALL=C builtin stat -gn +mtime -F '%a %b %e %T %Y' ${realdir}*(D) 2>/dev/null)"}##*/}/ //}//(#m)[][*?()<|^~#\\]/\\$MATCH}}}%%/*}//(#m)[][*?()<|^~#\\]/\\$MATCH}"} ]] &&
     _wanted files expl file _path_files -g "$pat"
   else
     _cvs_existing_entries