Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: psychiatric help





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