Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Change interactive command into a comment
Perry Smith <pedz@xxxxxxxxxxxxxxxx> wrote in
news:AE14DF7F-5C34-4D14-A20A-8356C547E114@xxxxxxxxxxxxxxxx:
> I found INTERACTIVE_COMMENTS but now I? Tm curious, what is zsh trying
> to do with a line starting with # ? e.g. # echo dog
There is also bultin to zsh & bash
<meta>#
which will autmatically insert # before current command and carriage return
on my system the meta key is Alt.
and yes i always want
setopt interactivecomments # allows end of command line comments
--
zzapper
https://twitter.com/dailyzshtip
Messages sorted by:
Reverse Date,
Date,
Thread,
Author