zsh-users
 help / color / mirror / code / Atom feed
From: jean-baptiste.marchand@epita.fr (jean-baptiste.marchand)
To: zsh-users@sunsite.auc.dk
Subject: zle questions
Date: 30 Mar 2000 12:02:57 +0200	[thread overview]
Message-ID: <874s9ovkq6.fsf@garbarek.sr.epita.fr> (raw)

Hi,

I've been using zsh-3.1.6 since a few weeks. I've two questions about
everyday usage :

1)

I like the menu completion feature (not complist) but I've still
haven't found how to stop the completion when I've found the file I'm
interested in :

mylogin@mymachine ~> ls /

then TAB 

and zsh cycles trough the directories of /

If I choose /usr, I would like to hit a key to tell zsh to stop the
completion, put /usr/ on the command-line and continue the menu
completion in /usr

I thought the zle function accept-and-menu-complete could do the job
but instead, it inserts the current completion followed by a space...

2) Is it possible in zle to specify word boundaries when using
   backward-kill-word ?

In GNU Bash, you can do the following :

mylogin@mymachine ~> ls /usr/X11R6/bin 

and if you want to execute 'ls' in '/usr/X11R6/' instead of
'/usr/X11R6/bin', you would hit ^W and it would kill the word '/bin'.
Instead, Zsh kills the whole '/usr/X11R6/bin'. It is because GNU Bash
recognizes '/' as a word boundary by default.

I found this feature quite interesting but maybe there is another way
to do this easily. 

Thanks for your help.

Jean-Baptiste Marchand
-- 
Jean-Baptiste.Marchand@epita.fr
Real Unix Books are written with Troff
(W. Richard Stevens)


             reply	other threads:[~2000-03-30 10:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-30 10:02 jean-baptiste.marchand [this message]
2000-03-30 10:38 Sven Wischnowsky

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=874s9ovkq6.fsf@garbarek.sr.epita.fr \
    --to=jean-baptiste.marchand@epita.fr \
    --cc=zsh-users@sunsite.auc.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).