zsh-users
 help / color / mirror / code / Atom feed
From: Andy Spiegl <zsh.Andy@spiegl.de>
To: Zsh-users List <zsh-users@sunsite.dk>
Subject: Re: another Problem with ignore-line
Date: Tue, 31 Aug 2004 10:38:20 +0200	[thread overview]
Message-ID: <20040831083820.GA21015@spiegl.de> (raw)
In-Reply-To: <Pine.LNX.4.61.0408301413080.3292@toltec.zanshin.com>

> 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.


  reply	other threads:[~2004-08-31  8:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-26 18:18 Problem with ignore-line and parenthesis Jesper Holmberg
2004-08-26 22:14 ` Andy Spiegl
2004-08-30 15:13   ` another Problem with ignore-line Andy Spiegl
2004-08-30 15:25     ` Oliver Kiddle
2004-08-30 17:20       ` Andy Spiegl
2004-08-30 21:21         ` Bart Schaefer
2004-08-31  8:38           ` Andy Spiegl [this message]
2004-08-31 12:27             ` Oliver Kiddle
2004-08-31 14:41               ` Andy Spiegl
2004-08-27  0:37 ` Problem with ignore-line and parenthesis Bart Schaefer
2004-08-27  7:32   ` Jesper Holmberg
2004-08-27 10:14   ` Oliver Kiddle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040831083820.GA21015@spiegl.de \
    --to=zsh.andy@spiegl.de \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).