I want to know how to configure your environment to execute some command with specific params everytime you use it.
So, if I have a command named:
spec
I want to know where I configure my bash to always use:
spec -c –format nested
instead of just ‘spec’
I tried to put this like an alias on my .bashrc file, like:
alias spec=’spec -c –format pretty’
but didn’t work.
Any tip?
Did you remember to execute your
.bashrcafter editing it?. ~/.bashrcwill do it.Also, your two commands don’t match. You have “nested” in one and “pretty” in the other.