From 6c1fb551ba0973c9a86e1ea479d553d66c6bf6b7 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:24:09 +0000 Subject: zsh-3.1.5-pws-14 --- Completion/User/_find | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/User/_find') diff --git a/Completion/User/_find b/Completion/User/_find index cb637fc26..13d1d797e 100644 --- a/Completion/User/_find +++ b/Completion/User/_find @@ -2,14 +2,14 @@ local prev="$words[CURRENT-1]" -if [[ -mbetween -(ok|exec) \\\; ]]; then +if compset -N '-(ok|exec)' '\;' then _normal -elif [[ -iprefix - ]]; then +elif compset -P 1 -; then compgen -s 'daystart {max,min,}depth follow noleaf version xdev \ {a,c,}newer {a,c,m}{min,time} empty false {fs,x,}type gid inum links \ {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 +elif [[ CURRENT -eq 2 ]]; then local ret=1 compgen -g '. ..' && ret=0 -- cgit 1.4.1