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

Re: Avoiding the zshells intelligence...in one case



On 01/23/2017 05:40 PM, Ray Andrews wrote:
> On 23/01/17 02:26 PM, Bart Schaefer wrote:
>>
>> If Meino has URLs where the schema starts with a tilde, though, he's
>> in worse trouble than this.
>>
> Too bad there was no option to just turn *everything* off for the one command.  So often we end up fighting the shell's expansions with various incantations whereas:
> 
> 
> setopt everyexpansionoff
> 
> command
> 
> unsetopt everyexpansionoff
> 
> ... would be so much more understandable.  I know it's not the way shells work, but why not?  I now understand why this sort of thing can't be done with the 'whence -m' situation but so long as the option was unset before a command is reached, it should
> be at least possible in theory.  Can't the whole expansion engine just be bypassed in one very long jump?
> 

That the point of having single quotes, so nothing within them would be treated syntactically.
This thread is just another plead at being even more lazy, to not have remember to use an
option/syntax to treat a string literally.



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