3 ms·
Aliases are only active in your interactive shell.
by vbernat 6y ago
Aliases are only active in your interactive shell.
- orra 6y agoTrue, but then you have the occasional headscratcher that the command behaves differently in your script than when you run it manually.
- shakow 6y agoExactly, if grep behaves differently in your scripts and your shell, there's no point in not using ripgrep (or ag, or silver searcher, or whatever strikes your fancy).
- andoriyu 6y agoThe difference is - your script works out of the box, or you need to install ripgrep.