Re: PATH Issues

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

 



On Wed, May 21, 2008 at 10:21:53AM -0400, Sieranski, Greg wrote:
> I have the following in my .bash_profile
>
> CVS_RSH=ssh
> DAISY_HOME=$HOME/src/quoininc.com/daisy/projects/daisy-2.0.1
> EDITOR=/usr/bin/vim
> GREP_COLOR='1;32'
> JAVA_HOME=$HOME/opt/jdk1.6.0_06
> PATH=${JAVA_HOME}/bin:$HOME/opt/hg:/sbin:$HOME/bin:$PATH
>
> export CVSROOT
> export CVS_RSH
> export DAISY_HOME
> export EDITOR
> export GREP_COLOR
> export JAVA_HOME
> export PATH
>
> alias grep='grep --color=always'
> alias la='env LC_ALL=C ls --color=tty -I lost+found -Fla'
> alias ll='env LC_ALL=C ls --color=tty -I lost+found -Fl'
> alias ls='env LC_ALL=C ls --color=tty -I lost+found -F'
> alias vi=$EDITOR
>
> PS1="[\w] "
>         case `id -u` in
>               0) PS1="${PS1}# ";;
>               *) PS1="${PS1}$ ";;
>         esac
>
>
> when I do echo $PATH I get:
>
> /home/gps/opt/jdk1.6.0_06/bin:/home/gps/opt/hg:/sbin:/home/gps/bin:/home/gps/opt/jdk1.6.0_06/bin:/home/gps/opt/hg:/sbin:/home/gps/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
>
> if you notice I have the jdk, hg , ~/bin being added to the path twice. 
> Does anyone know why this is happening?
>
I think you'll find that ~/bin at least is added by the default
profile scripts in /etc.  Maybe the others are too by some additions
made when you install java etc.

-- 
Chris Green

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux