Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: GLOB_COMPLETE and numbered directories
- X-seq: zsh-users 20027
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: GLOB_COMPLETE and numbered directories
- Date: Thu, 19 Mar 2015 23:15:29 +0000
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=x-sasl-enc:date:from:to:cc:subject :message-id:references:mime-version:content-type:in-reply-to; s= mesmtp; bh=VvCFrYx6qP8dnxZwVkpyu0TaacQ=; b=i4HL5C7sBfc/aKF53TcNW fzhJ5gRF2682A90obwHI5GNyqaibLCe+ONGlXggFYiiq6K8DyNm9Pq8Fk2OWQYut 4eNSZoHlAfeRcsAfqLrRgm6wwiVoh3v0vfwHGjLw5rd46DbtKTcBs3mDGk6mE9sL 54FQ1gL4JL3WyzvzCFIfGw=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:date:from:to:cc:subject :message-id:references:mime-version:content-type:in-reply-to; s= smtpout; bh=VvCFrYx6qP8dnxZwVkpyu0TaacQ=; b=SAm61DEqiqs4bKOyDGPT x30WwWQDCVFxcLfaoTjO+z6k3t7rtFzS5T2ymRA6h2v1WoR1I8MWGAjIXz1RqoCd VuDKbsff4vYTaU6xn5nie174tZX+XDWdKAXAqjlo5mQgG0Bp1jAEhipkP7BIA1N4 xmfQSutjRUsh5kdFeV8kxT4=
- In-reply-to: <CAHYJk3SVt7=5LeGicm+RQvScBvCKVrZoC8yGSzTiXgq0mqbPbg@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20150319073238.GN3548@tarsus.local2> <CAHYJk3SVt7=5LeGicm+RQvScBvCKVrZoC8yGSzTiXgq0mqbPbg@mail.gmail.com>
Mikael Magnusson wrote on Thu, Mar 19, 2015 at 10:16:02 +0100:
> On Thu, Mar 19, 2015 at 8:32 AM, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> > % mkdir -p {bar,baz}/iota
> > % cat b/i<TAB>
...
> > % mkdir -p {10a,11a}/iota
> > % cat 1/i<CURSOR>
>
> Are you sure the difference isn't because your differing character is
> now not the last character of the directory name?
Yes, if I use 'bra' and 'bza' as the filenames, I get the same behaviour
as in the '10a'/'11a' case: it leaves me with 'ba/iota<CURSOR>'. So
it's not about numbered directories, it's about disambiguating.
Thanks for pointing this out.
Daniel
Messages sorted by:
Reverse Date,
Date,
Thread,
Author