Re: psychiatric help
Ray Andrews <[email protected]> Sat, 4 Apr 2026 16:24:06 -0700
| Newsgroups | gmane.comp.shells.zsh.devel,gmane.comp.shells.zsh.user |
|---|---|
| Message-ID | <[email protected]> |
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.