zsh-users
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Bart Schaefer <schaefer@brasslantern.com>,
	Danny Dulai <nirva@ishiboo.com>
Cc: Timothy J Luoma <luomat+Lists/Zsh/workers@luomat.peak.org>
Subject: Re: 'remove slash' bug
Date: Mon, 15 Jun 1998 15:03:30 -0700	[thread overview]
Message-ID: <980615150330.ZM5864@candle.brasslantern.com> (raw)
In-Reply-To: <19980615154050.42933@bleep.ishiboo.com>

On Jun 15,  3:40pm, Danny Dulai wrote:
> Subject: Re: 'remove slash' bug
> Quoting Bart Schaefer (schaefer@brasslantern.com):
> > On Jun 15, 12:34pm, Timothy J Luoma wrote:
> > > 
> > > $ cd /usr/loca/bin
> > > 
> > > Shouldn't the cursor between the "c" and the "a" be enough?
> > 
> > It is if you have glob_complete set.

I apologize; that statement is completely (ahem) wrong.  My only excuse
is that I don't use glob_complete myself and I didn't check my facts
because I was in a hurry today.  I hate being misleading; forgive me.

To try to make up for it ...

> cd /usr/loca/bin/
> 
> If the cursor is on the /, after the loca, and i hit tab, it beeps and
> puts the cursor after the last /.
> 
> In bash, this will complete the loca to local. Is there any way to achive
> this result in zsh?

This one, however, I can answer correctly:

setopt completeinword

> Also, if you move the cursor over the c in loca and hit tab in bash, it
> will give me two choices, local and lost+found. Any way to do this in
> zsh?

Re-bind the TAB key to expand-or-complete-prefix, rather than binding it
to expand-or-complete.


      parent reply	other threads:[~1998-06-15 22:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <199806141357.NAA02238@tgape.ed.vnet>
     [not found] ` <980614141639.ZM315@candle.brasslantern.com>
     [not found]   ` <19980615094927.A24448@mail.kappa.ro>
     [not found]     ` <199806151634.MAA27418@luomat.peak.org>
1998-06-15 18:28       ` Bart Schaefer
     [not found]         ` <19980615154050.42933@bleep.ishiboo.com>
1998-06-15 22:03           ` Bart Schaefer [this message]

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=980615150330.ZM5864@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=luomat+Lists/Zsh/workers@luomat.peak.org \
    --cc=nirva@ishiboo.com \
    /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).