use $HOME instead of hardcoded path
Only source bashrc for interactive shells
fix file endings