Re: Adding a Directory to the Path

[nfo.caesar]


Subject: Re: Adding a Directory to the Path
From: jonen (at) netfrag.org (jonen)
Newsgroups: nfo.caesar
Organization: netfrag.org
Date: Feb 18 2003 22:55:39
References: 1

if PATH is set/changed by a script, 're-login' login must be done to get 
new PATH variables enabled at env.
this could be done by starting a 'sub-shell', example:

	#!/bin/bash
	PATH="$PATH:/path-to/your-includes/"
	export PATH
	exec bash ${1+"$@"}