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

Re: another Problem with ignore-line



> Try removing "_expand_dots" from that, and see what happens.
No difference.

> If it still happens after removing _expand_dots is removed, try using
> 
> condor:~/zshtest>mv a<\C-x?>
> 
> (ctrl-x question-mark) which invokes _complete_debug, and examine the temp 
> file that gets dumped.
I did it once with the "ignore-line yes" and once without and tried to
interpret the differences in the dump files but I still don't understand
where the problem might be.  So I thought I'd include the dump files here.
No, maybe not as they are pretty big.  Instead I'll put them there:
 http://spiegl.de/zsh/dump_with_ignoreline
 http://spiegl.de/zsh/dump_without_ignoreline

Here are my current completion settings (I removed as much as possible):

----------------
if /bin/true && [[ "$ZSH_VERSION_TYPE" == 'new' ]]; then
  autoload -U compinit
  compinit -u
else
  #print "\nAdvanced completion system not found; ignoring zstyle settings."
  which zstyle >/dev/null || function zstyle { }
  which compdef >/dev/null || function compdef { }
fi

# General completion technique
zstyle ':completion:*' completer _complete

# don't complete the same filename
zstyle ':completion:*:(rm|cp|mv):*' ignore-line yes

# generic completions for programs which understand GNU long options(--help)
compdef _gnu_generic make df du casino wc gpg alien Eterm pump hwclock date mv cp wordtrans rechnerbackup

# colored completions
if which dircolors >/dev/null; then
  if [ -f ~/.dircolors ]; then
    eval "`dircolors -b ~/.dircolors`"
  else
    eval "`dircolors -b`"
  fi
fi

if [[ $ZSH_VERSION > 3.1.5 ]]; then
  if [[ $ZSH_VERSION_TYPE == 'new' ]]; then
    zmodload -i zsh/complist

	zstyle ':completion:*' list-colors ''
	zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
	# process lists
	zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
  else
    zmodload -i complist
	# old method
	ZLS_COLOURS=${LS_COLORS-${LS_COLOURS-''}}
  fi
fi  
----------------

Thanks,
 Andy.

-- 
                              o      _     _         _
  ------- __o       __o      /\_   _ \\o  (_)\__/o  (_)          -o)
  ----- _`\<,_    _`\<,_    _>(_) (_)/<_    \_| \   _|/' \/       /\\
  ---- (_)/ (_)  (_)/ (_)  (_)        (_)   (_)    (_)'  _\o_    _\_v
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Windoze: For the one it is an operating system, for the others
          it is the longest virus of the world.



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