From: Aaron Lichtman <aaronlichtman@gmail.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: Bug Report: ... not being expanded properly?
Date: Wed, 6 Feb 2019 18:13:54 -0600 [thread overview]
Message-ID: <CAMKPFT_ABgt+qbeE=iEHY6dutA6_mJ+SLNpwcG-=eEY0Tqr_Cg@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3RMie6+sP0QeTVuhdLkXHanYiKqyF3uAWKWKpiByVXbwg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1060 bytes --]
Perfect, that worked!
Thanks for the help!
Cheers,
Aaron
On Wed, Feb 6, 2019 at 10:25 AM Mikael Magnusson <mikachu@gmail.com> wrote:
> On 2/6/19, Aaron Lichtman <aaronlichtman@gmail.com> wrote:
> > Hi,
> >
> > Does anyone have any suggestions with regard to how to debug this? I
> looked
> > through my .zshrc and .zprofile files and everything seems to be in
> order.
> > I don't have a great understanding of zsh internals and am a bit lost.
> >
> > Any help would be appreciated.
> >
> > Best,
> > Aaron Lichtman
>
> Remove your aliases and use this instead,
>
> # just type '...' to get '../..'
> function _rationalise-dot() {
> local MATCH MBEGIN MEND
> if [[ $LBUFFER =~ '(^|/| | |'$'\n''|\||;|&)\.\.$' ]]; then
> LBUFFER+=/
> zle self-insert
> fi
> zle self-insert
> }
> zle -N _rationalise-dot
> bindkey . _rationalise-dot
> # without this, typing a . aborts incremental history search
> bindkey -M isearch . self-insert
> # dito for searching in menu selection
> bindkey -M menuselect . self-insert
>
>
> --
> Mikael Magnusson
>
prev parent reply other threads:[~2019-02-07 0:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-06 13:51 Aaron Lichtman
2019-02-06 16:25 ` Mikael Magnusson
2019-02-07 0:13 ` Aaron Lichtman [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='CAMKPFT_ABgt+qbeE=iEHY6dutA6_mJ+SLNpwcG-=eEY0Tqr_Cg@mail.gmail.com' \
--to=aaronlichtman@gmail.com \
--cc=mikachu@gmail.com \
--cc=zsh-workers@zsh.org \
/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).