4 ms·
IIRC zsh has an option for this (if a wildcard has no matches, it just gets left in its original form), but I don't remember what. There's also `noglob`, which
by philh 12y ago
IIRC zsh has an option for this (if a wildcard has no matches, it just gets left in its original form), but I don't remember what.
There's also `noglob`, which disables glob expansion for a command (e.g. `noglob echo 3*4 | bc`).
- lobster_johnson 12y agoUnfortunately, this has some unwanted side effects (see https://github.com/robbyrussell/oh-my-zsh/issues/2945 https://github.com/robbyrussell/oh-my-zsh/issues/2945). The noglob option might work, if it doesn't prevent scp from working with local wildcards.