I want to extend the solution but keep it up-to-date. For example, I need to add some parts to the path. Editing .bashrc does not seem practical.
What is the best way to add commands so they execute after .bashrc?
Thanks,
Marc
Last edit: Marc Bernard 2022-09-07
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have moved the alias includes towards the end of the Extreme Ultimate .bashrc file for this very reason.
That way you can modify things without ever having to change the .bashrc file to keep from losing changes on updates.
You can either add new (or replace/unalias existing) aliases in a file named ~/.bash_aliases or ~/.config/bashrc/aliases or in any files located in the ~/.config/bashrc/bashrc.d/ directory.
Check out the instructions on the "Files" section of this project under "Custom Aliases" for more information.
And thank you, Marc, for reaching out. I wish you all the best!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Great solution!
I want to extend the solution but keep it up-to-date. For example, I need to add some parts to the path. Editing .bashrc does not seem practical.
What is the best way to add commands so they execute after .bashrc?
Thanks,
Marc
Last edit: Marc Bernard 2022-09-07
I have moved the alias includes towards the end of the Extreme Ultimate .bashrc file for this very reason.
That way you can modify things without ever having to change the
.bashrc
file to keep from losing changes on updates.You can either add new (or replace/unalias existing) aliases in a file named
~/.bash_aliases
or~/.config/bashrc/aliases
or in any files located in the~/.config/bashrc/bashrc.d/
directory.Check out the instructions on the "Files" section of this project under "Custom Aliases" for more information.
And thank you, Marc, for reaching out. I wish you all the best!