--- Renat Golubchyk <[EMAIL PROTECTED]> wrote:
> On Friday 03 October 2003 21:31, Tom Hosiawa wrote:
> > What I'm still wondering is why my change to PATH isn't taking affect?
> 
> Could you post your ~/.bash_profile and ~/.bashrc ? It's difficult to say 
> something without seeing it.

Sure. Here they are.
************************************************
bash-2.05b$ cat .bashrc
# /etc/skel/.bashrc:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bashrc,v 1.8 2003/02/28 
15:45:35 azarah
Exp $

# This file is sourced by all *interactive* bash shells on startup.  This
# file *should generate no output* or it will break the scp and rcp commands.

# colors for ls, etc.
eval `dircolors -b /etc/DIR_COLORS`
alias d="ls --color"
alias ls="ls --color=auto"
alias ll="ls --color -l"

# Change the window title of X terminals
case $TERM in
        xterm*|rxvt|Eterm|eterm)
                PROMPT_COMMAND='echo -ne "\033]0;[EMAIL PROTECTED]:${PWD/$HOME/~}\007"'
                ;;
        screen)
                PROMPT_COMMAND='echo -ne "[EMAIL PROTECTED]:${PWD/$HOME/~}\033\\"'
                ;;
esac

##uncomment the following to activate bash-completion:
#[ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-completion
bash-2.05b$

************************************************


bash-2.05b$ cat .bash_profile
# /etc/skel/.bash_profile:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/skel/.bash_profile,v 1.10 
2002/11/18 19:39:22
azarah Exp $

#This file is sourced by bash when you log in interactively.
[ -f ~/.bashrc ] && . ~/.bashrc

bash-2.05b$
*************************************************
What I find funny is what happens to my path wich seems a little inconsistent. Check 
out the
progression.

bash-2.05b$ echo $PATH
/usr/kde/3.1/bin:/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/bin
bash-2.05b$ . /etc/profile
[EMAIL PROTECTED] jbanks $ echo $PATH
/bin:/usr/bin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/bin
[EMAIL PROTECTED] jbanks $ su
Password:
[EMAIL PROTECTED] jbanks # echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin
[EMAIL PROTECTED] jbanks # . /etc/profile
deadmeat jbanks # echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.2:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin


Any suggestions would be helpful. Renat, did you see Toms posting within this thread? I
accidentally hijacked his thread I think. I thought we had the same problem but we 
don't.  I will
open another one called "bash_profile2", if I need to respond to your suggestions 
again.

Thanks,
Joshua Banks


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

--
[EMAIL PROTECTED] mailing list

Reply via email to