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

Re: history puzzle





On 2024-06-04 13:37, Mark J. Reed wrote:
What the . . . oh, I had history aliased for some reason, to history -t %FT%T 0. Convenient when I type it by itself, but too late for -m by the end of it; I so rarely use the command that I didn't notice I'd restricted myself that way. Sorry for the added confusion.
Lawrence caught it before I went and killed myself.  Seriously you haven't lead me astray very often.

(I replaced it with a function that only adds those arguments if I didn't supply any already.)

I still think from Ray's mention of "words" that he was reading documentation about history expansion rather than pattern-matching.

I think that's what's happening.  'history' refers to the 'topic' and not the command.




Messages sorted by: Reverse Date, Date, Thread, Author