Re: Starting another Xterm in X
In a message dated 1/11/99 11:53:37 AM Central Standard Time, carlj@peak.org
writes:
> You don't need any of that if you are running bash, and the other
> shells probably have equivalent ways of handling it. I simply put all
> aliases in my ~/.bashrc file, and they are always read by every
> non-login shell including xterm shells. Since login shells don't read
> .bashrc by default, I put the following sequence in my .bash_profile
> to read in .bashrc for them:
>
> if [ -f ~/.bashrc ]
> then
> case $- in
> *i*) . ~/.bashrc
> esac
> fi
>
> The .bashrc file should also have any other commands that need to be
> executed for every interactive shell (such as fortune for me).
>
This works beautfully - thanks for the great tip!!
-jay
Reply to: