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

BUG: 3.1.6-pws-9: problems with fignore



Heyla,
      "fignore <S> <Z> (FIGNORE <S>)
              An array (colon separated list) containing the suf-
              fixes of files to be ignored during  filename  com-
              pletion.  However, if the completion generates only
              files which would match if this variable  would  be
              ignored, than these files are completed anyway."

1) fignore is for file completion, not directory completion.

% echo $fignore
.o .out .org ~
% ls -F /ftp/
zsh.org/
% /ftp/<TAB>     # ---> gives next line
% /ftp/zsh.org/
% cd /ftp/<TAB>  # ---> gives next line
% cd /ftp/zsh.org/
% mkdir /ftp/any-old-name
% cd /ftp/<CTRL-D>
any-old-name/
^^^^^^^^^^^^^^^^^^^^^^

2) No completions with fignore used, but completions without it therefore
   complete without it.

% mkdir /tmp/foo
% cd /tmp/foo
% touch BLAH.org
% ls BLA<TAB>

Regards,
-- 
Geoff Wing : <gcw@xxxxxxxxx>     Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@xxxxxxxx>      Ego URL : http://pobox.com/~gcw/
Zsh Stuff  : <gcw@xxxxxxx>       Phone   : (Australia) 0413 431 874



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