Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2000 16:08:33 -0500 (CDT)
From:      Joshua Delong Thomas <jdt2101@ksu.edu>
To:        questions@FreeBSD.ORG
Subject:   exporting PATH to shell rc files
Message-ID:  <Pine.GSO.4.21L.0010041600040.8943-100000@unix1.cc.ksu.edu>

next in thread | raw e-mail | index | archive | help
I'm mystified by some error (I guess) messages I get when I try to export
paths to search for executables.  My .bashrc looks like this:
export PS1="\\[\\033[1;32m\\]\\w\\[\\033[0m\\]\\\$"
export PATH=
"/home/thatguy/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/X11R6/bin"

When I run bash I get this:
declare -x (All environment variables)=whatever the default is


And now the path isn't working at all.  Am I an idiot?
Should I put the export statement somewhere else?  

Thanks,
Josh



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21L.0010041600040.8943-100000>