diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:20:19 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-04-15 18:20:19 +0000 |
commit | 04a89199d02a3ee6c4b3d89a6c782bdb0a4f1bc8 (patch) | |
tree | 2215f99f95d55660fc939a029bf965c454d080b5 /Completion/User/_find | |
parent | 7a0415cfd70a02b2280d27556c6c54cef1c86e1a (diff) | |
download | zsh-04a89199d02a3ee6c4b3d89a6c782bdb0a4f1bc8.tar.gz zsh-04a89199d02a3ee6c4b3d89a6c782bdb0a4f1bc8.tar.xz zsh-04a89199d02a3ee6c4b3d89a6c782bdb0a4f1bc8.zip |
zsh-3.1.5-pws-12 zsh-3.1.5-pws-12
Diffstat (limited to 'Completion/User/_find')
-rw-r--r-- | Completion/User/_find | 8 |
1 files changed, 6 insertions, 2 deletions
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 |