4 ms·
Based on the sibling comment to yours, I don't think bash supports this. zsh allows you to make a \'sudo\' alias though, so it depends on your shell.
by chrisfosterelli 9y ago
Based on the sibling comment to yours, I don't think bash supports this. zsh allows you to make a \'sudo\' alias though, so it depends on your shell.
- wrycoder 9y agoAt least in bash, quoting the command disables any alias. Maybe also in zsh?
- chrisfosterelli 9y agozsh seems to have much more flexible alias rules than bash: > alias \'sudo\'='ls -a' > 'sudo' . ..