From: David Hedbor <david@hedbor.org>
To: zsh-users@math.gatech.edu (Zsh users list)
Subject: Re: zsh - new user with questions
Date: 18 Aug 1998 15:46:46 -0700 [thread overview]
Message-ID: <86ww85x609.fsf@animearchive.org> (raw)
In-Reply-To: Peter Stephenson's message of "Tue, 18 Aug 1998 18:28:45 +0200"
Peter Stephenson <pws@ifh.de> writes:
> need to handle .'s in the way /'s are handled there. Ignoring case
> may happen one day, but I doubt there's ever going to be a built-in
> way of saying 'look and see if there are any characters preceeding a
> dot to be added earlier on in the completion'. Maybe you would be
> interested in the options automenu and menucomplete. You'll have
> to find the shift key, however. Do 'setopt automenu', type R,
> and hit tab until it works.
I am having similar problems, but with /. Example with bash (^ denotes
the location of the cursor):
bash-2.01$ ls /usr/loc/bi
^
Pressing tab gives:
bash-2.01$ ls /usr/local/bi
^
With zsh:
ls /usr/loc/bi => beep
^
ls /usr/loc/bin => /usr/local/bin/
^ ^
ls /usr/loc/bin/ => /usr/local/bin//
^ ^
So problem one is that local is not expanded if the path segment after
it doesn't exist. The second problem is that zsh adds a "/" at the end
of the path - always. I'd prefer if it didn't add one at all or at
least just one (the infinite number of added slashes is clearly a
bug).
The third problem is something that often bites me hard:
bash: ls /usr/lobin => /usr/local/bin
^
bash: ls /usr/lobin => beep
^
Ie zsh can't complete the path if the cursor is not on a slash. It
would be really nice if it completed from the character it was on,
even if it's not a slash.
This it he last "grudge" I have against zsh since switching from bash.
--
David Hedbor
next prev parent reply other threads:[~1998-08-18 22:52 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-18 15:33 Stephen Riehm
1998-08-18 16:17 ` Matthew Lovell
1998-08-18 16:28 ` Peter Stephenson
1998-08-18 22:46 ` David Hedbor [this message]
1998-08-19 1:21 ` Bart Schaefer
1998-08-18 16:43 ` Zefram
1998-08-19 12:34 Stephen Riehm
1998-08-19 13:53 ` Goran Larsson
1998-08-19 16:03 ` Bart Schaefer
1998-08-19 15:09 Stephen Riehm
1998-08-19 17:35 ` Goran Larsson
1998-08-19 19:18 ` Bart Schaefer
1998-08-19 19:58 ` Roland Jesse
1998-08-20 9:47 ` Andrej Borsenkow
1998-08-20 11:27 Stephen Riehm
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=86ww85x609.fsf@animearchive.org \
--to=david@hedbor.org \
--cc=zsh-users@math.gatech.edu \
/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).