-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
!! notation expands if using bash weak quoting (double quotes) #19
Comments
Ugh. Yeah, that's a problem. I never use command-line for messages, so never though of shell escapes when creating it. Do you have any alternatives you might recommend? The main thing I like is that it stands out. It is 3 chars wide, with the first indicating what's going on and the next two screaming RISK IS HERE!! |
What do people think about ** F** Hm. Looks like I'm cussing. I don't particularly like that. |
I'm still open to a proposal that avoids terminal history expansion. I don't have an idea, so can anyone make a good proposal? |
There are so many different shells out there with so many different rules for which characters are special in which contexts. It's hard to design any system that won't trip up any shell. Here's another example:
In PowerShell backtick is the escape character, so backtick-t becomes a Meanwhile, in Python |
Some more character ideas for unsafe: Or maybe we change the layout: Maybe we also switch the safe changes to |
I like the layout change. I feel like it makes things more useable. |
#43 Considers an alternate layout. Addresses this concern and also makes risk more clear. |
Example:
This will expand to
or something.
I guess I need to learn to use single quotes to use this.
The text was updated successfully, but these errors were encountered: