From 04a89199d02a3ee6c4b3d89a6c782bdb0a4f1bc8 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:20:19 +0000 Subject: zsh-3.1.5-pws-12 --- Completion/User/_find | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Completion/User/_find') diff --git a/Completion/User/_find b/Completion/User/_find index 8fcdafb83..cb637fc26 100644 --- a/Completion/User/_find +++ b/Completion/User/_find @@ -10,8 +10,12 @@ elif [[ -iprefix - ]]; then {i,}{l,}name {no,}{user,group} path perm regex size true uid used \ exec {f,}print{f,0,} ok prune ls' elif [[ -position 2 ]]; then - compgen -g '. ..' - _files -g '(-/)' + local ret=1 + + compgen -g '. ..' && ret=0 + _files -g '(-/)' && ret=0 + + return ret elif [[ "$prev" = -((a|c|)newer|fprint(|0|f)) ]]; then _files elif [[ "$prev" = -fstype ]]; then -- cgit 1.4.1