I'm still fairly new to Mint/Ubuntu so please forgive me if this is a stupid question. I want each user
to have a custom .profile .bashrc and .bash_aliases, i'm running Mint 12 which seems pretty awsome.
Everything seems to be invoked from /etc/profile /etc/bash.bashrc. I see the local user directory doesn't
have any of the .profile .bashrc files I was expecting.
The obvious answer (in my twisted mind) seems to be to edit the /etc/profile to include the following lines...
At the bottom of the /etc/profile
- Code: Select all
if [ -f ~/.profile ]; then
. ~/.profile
fi
~/.profile
- Code: Select all
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
~/.bashrc
- Code: Select all
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
Then I can just stick the templates in /etc/skel
Am I way off the mark here ?
Cheers!

