zsh-users
 help / color / mirror / code / Atom feed
From: Meino Christian Cramer <Meino.Cramer@gmx.de>
To: david@tvis.co.uk, zsh-users@sunsite.dk
Subject: Completion of list of executables
Date: Wed, 15 Mar 2006 03:48:51 +0100 (CET)	[thread overview]
Message-ID: <20060315.034851.74754344.Meino.Cramer@gmx.de> (raw)


Hi,

 I am a little confused...

 In my .zshrc I expanded PATH as follows:

 export PATH="$PATH:${HOME}/bin/."

 Later in .zshrc I load a file called .zsh.completion, which
 contains all completion related stuff (not that much in the moment).

 Now...

 When I -- for example -- type "b<TAB>" at the prompt, the completion
 system will suggest all executables starting with "b" to me...except 
 those, which can be found in ${HOME}/bin/.

 But: Typing such an executable's full name after the prompt followed
 by <RETUN> will execute that executable (hence the name :O).

 What did I so badly wrong here, that the completion system will
 ignore my bin at home ;O))) ??

   # The following lines were added by compinstall
   
   # for LS_COLORS completions
   zmodload zsh/complist
   
   # default is selection via menu
   zstyle ':completion:*:default' menu yes select
   
   # use LC_COLORS
   zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
   
   # use cacheing
   zstyle ':completion:*' use-cache on
   zstyle ':completion:*' cache-path ~/.zsh/cache
   
   # expand PID for kill-cmd
   zstyle ':completion:*:kill:*'   force-list always
   
   # default stuff
   zstyle ':completion:*' completer _expand _complete
   zstyle ':completion:*' expand suffix
   zstyle ':completion:*' matcher-list '' 'm:{a-z}={A-Z}' 'l:|=* r:|=*'
   zstyle :compinstall filename '/home/mccramer/.zsh.completion'
   
   
   # initialisation
   autoload -U compinit
   compinit
   # End of lines added by compinstall

 Thank you very much in advance for anyy helpful reply to my question.

 Kind regards,
 Meino Cramer


             reply	other threads:[~2006-03-15  2:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-15  2:48 Meino Christian Cramer [this message]
2006-03-15  2:56 ` Wayne Davison
2006-03-15  3:11   ` Meino Christian Cramer

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=20060315.034851.74754344.Meino.Cramer@gmx.de \
    --to=meino.cramer@gmx.de \
    --cc=david@tvis.co.uk \
    --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).