minus-squarenicoag328@lemmy.mltoLinux@lemmy.ml•How to make it such that, when running `command`, it automatically does `SOME_ENV_VAR=value command`? (something cleaner than aliases?)linkfedilinkEnglisharrow-up2·1 year agoYou could source an aliases.sh file on your .bashrc where you define your aliases, so that they don’t fill up your bashrc. For example, in your bashrc: source ~/.aliases.sh This way you could also create a file with aliases per program. linkfedilink
You could source an
aliases.sh
file on your .bashrc where you define your aliases, so that they don’t fill up your bashrc.For example, in your bashrc:
source ~/.aliases.sh
This way you could also create a file with aliases per program.