John Williams, 2004-04-02 06:58:34:
> Un-installing [OOo], using the option in the 'setup' script "removal
> of all files" still left a lot of OOo 1.0.0 stuff that I deleted
> manually. [...]

> Now I'm trying to get my aliases to work again. They work if I am
> 'root' but not 'user'. OOo was in my user directory.  John.

John, it sounds like more than just your ~/.bashrc file is missing.
You should also have a ~/.profile or ~/.bash_profile (either one).

If you don't, you can probably find a copy with:

  ls -a /etc/skel

If not, here's a short one that'll probably get you going:

# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
  source ~/.bashrc
fi

Name it ~/.profile or ~/.bash_profile, and log out. It'll be read by
bash when you log in again.

>From the bash man page:

 When  bash is invoked as an interactive login shell, or as
 a non-interactive shell with the --login option, it  first
 reads and executes commands from the file /etc/profile, if
 that file exists.  After reading that file, it  looks  for
 ~/.bash_profile,  ~/.bash_login,  and  ~/.profile, in that
 order, and reads and executes commands from the first  one
 that  exists  and is readable.


Tim
-- 
Timothy Musson  -  [EMAIL PROTECTED]  _o)
http://homepages.ihug.co.nz/~trmusson/  /\\
. . . . . . . . . You might have mail. _\_V

Reply via email to