[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .bashrc doesn't work?



J Horacio MG (homega@ciberia.es) wrote:

> Not sure whether you already know this, but ~/.bashrc is for interactive
> shell, not for login shell, ie. when you login the config file read is
> ~/.bash_profile or /etc/profile

Oops! In Rat Hat putting things in your .bashrc worked... I guess I have a few more things to unlearn from Rat Hat!

> Else, have those aliases defined in a file called .bash_aliases in your home
> dir, and then source that file in your ~/.bash_profile (config file for
> login shell) with this line:
> 
> source $HOME/.bash_aliases

This worked great, thanks!



Thanks again,

Ron
-- 
=========================
= Ronald Burnett Farrer =
=========================
------------------------------------
- "mailto:rbf@magnesium.net";       -
- "http://www.magnesium.net/~rbf/"; -
------------------------------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! If you let Windows dominate, expect the worst: !
! "WORLD.SYS is corrupt, reboot UNIVERSE Y/n"    !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
???????????????????????????????????????????????????????
? "How could this [Y2K Bug] be a problem in a country ?
? where we have Intel and Microsoft?" -- Al Gore      ?
???????????????????????????????????????????????????????


Reply to: