Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _find



Hi. I found a bug in Completion/User/_find with zsh-3.1.5-pws-15.

% ./Src/zsh -f
% fpath=(Completion/*(/))
% . Completion/Core/compinit
% find <TAB>
compset: too many arguments
...

*** Completion/User/_find-	Fri Apr 23 20:33:31 1999
--- Completion/User/_find	Fri Apr 23 20:33:36 1999
***************
*** 2,8 ****
  
  local prev="$words[CURRENT-1]"
  
! if compset -N '-(ok|exec)' '\;' then
    _normal
  elif compset -P 1 -; then
    compgen -s 'daystart {max,min,}depth follow noleaf version xdev \
--- 2,8 ----
  
  local prev="$words[CURRENT-1]"
  
! if compset -N '-(ok|exec)' '\;'; then
    _normal
  elif compset -P 1 -; then
    compgen -s 'daystart {max,min,}depth follow noleaf version xdev \

-- 
[Tanaka Akira]



Messages sorted by: Reverse Date, Date, Thread, Author