nicoag328

@nicoag328@lemmy.ml
0 Post – 2 Comments
Joined 1 years ago

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.

4 more...

You can source other files inside aliases.sh or as @treadful noted .bash_aliases

.bash_aliases:

source .aliases/program_x.sh source .aliases/program_y.sh

This way you can have a file with aliases for each application or group of applications.

But it would be helpful if you provided more information on what you really want to do. Read https://xyproblem.info/