Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: psychiatric help
- X-seq: zsh-users 30484
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: psychiatric help
- Date: Sat, 4 Apr 2026 16:24:06 -0700
- Archived-at: <https://zsh.org/users/30484>
- In-reply-to: <CAA=-s3wKQb+1Sq2mV+h2Gk8rOQYKt8x_JNg9NhmdwAgJesxBkQ@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- References: <0610849d-f81c-4539-b13d-c4be9cbd1276@eastlink.ca> <CAA=-s3yUhzu7WbAB0F09abwmzPYowJ1s6o+YiV+cuQBf-GvFXw@mail.gmail.com> <448d6d35-c261-4e7e-bc67-c2a58d082b87@eastlink.ca> <CAA=-s3wKQb+1Sq2mV+h2Gk8rOQYKt8x_JNg9NhmdwAgJesxBkQ@mail.gmail.com>
On 2026-04-04 16:04, Mark J. Reed wrote:
Have you considered a simpler solution? If I understand your goal I
think this will work for you: bind the space bar to a ZLE function
that expands the alias you just typed in-place. That way you get the
whole expanded command right there at the prompt where you can edit it
as needed, and the whole thing will automatically be what's saved in
your history when you execute it.
Problem is when the command tail has to be passed on to another function
internally so I have no chance to edit it. Hard spaces are going to
become soft spaces. I always thought that permitting spaces in
designators was a bad idea from the getgo. Should never have been permitted.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author