Author Topic: .bash_profile  (Read 1013 times)

Arrummzen

  • Newbie
  • *
  • Posts: 15
    • View Profile
.bash_profile
« on: December 09, 2003, 02:33:21 am »
Were do I put my .bash_profile on OZ? I donwloaded and installed the bash ipkg. I tried /root but it doesnt seem to work. Also is there any way I can get OPIE Terminal to load bash and not ash?

Thank you for your time,
Arrummzen

PhantomsDad

  • Newbie
  • *
  • Posts: 3
    • View Profile
    • http://
.bash_profile
« Reply #1 on: December 30, 2003, 05:49:04 pm »
The file name is .profile, not .bash_profile.  Put it into the $HOME directory of the user.  For root, that would be /root.  You can also create a .bashrc file.  .profile only gets invoked when you first log into the Z.  What I typically do is put the following code into .profile:

if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

then you are covered either way.