Rodrigo Agerri wrote:

Kent West wrote:


In /etc/profile are these statements (they're the only path-related statements in this file):



PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
export PATH


I do not have a ~/.bash_login nor a ~/.profile. There are no path-related statements in my ~/.bashrc, and the only path-related statements in my ~/.bash_profile are these:



# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi


(Interestingly, I don't see an "export PATH".)



Did you look at /etc/bash.bashrc?


[EMAIL PROTECTED]:/home/westk:> cat /etc/bash.bashrc
# System-wide .bashrc file for interactive bash(1) shells.

# If running interactively, then:
if [ "$PS1" ]; then

   # set a fancy prompt (overwrite the one in /etc/profile)
   PS1='[EMAIL PROTECTED]:\w\$ '

   # check the window size after each command and, if necessary,
   # update the values of LINES and COLUMNS.
   shopt -s checkwinsize

   # enable bash completion in interactive shells
   #if [ -f /etc/bash_completion ]; then
   #    . /etc/bash_completion
   #fi
fi



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to