where to install aliases system-wide
Asked by
Luc Pi
I am making a package that contains bash aliases.
where should these aliases be installed, so that they are available system-wide?
I first put them in /etc/profile.
but this affects only login shells (for example it works in the consoles)
Interactive shells do not get the aliases.
environement variables are passed to interactive shells,
but aliases are not.
If I append them to /etc/bash.bashrc, this will be overwritten by a subsequant installation of bash, right?
So my question is:
Where should I install aliases, so they are available to interactive shells system-wide?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu bash Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Luc Pi
- Solved:
- Last query:
- Last reply:
To post a message you must log in.