1
I alias pandoc='~/.cabal/bin/pandoc'
because I don't want to change my $PATH
order just for this one program.
In general, programs I installed in /opt/
, ~/.cabal/
, and so on should precede defaults in /bin/
, but I don't want bash to search through thirteen special directories just to find /bin/cat
, which seems like it should be fast and immediate.
Is there a more appropriate middle-ground than simply alias
ing over particular programs whenever they seem to be executing the wrong version?
oh, awesome! Nice to know; thanks for taking the time to answer. – isomorphismes – 2015-02-24T16:24:47.950