Hi,
I have entry in .profile like this :
alias GH='. /opt/dba/oraadmin/tools/gh.sh'
and gh.sh script has some thing like this :
#!/bin/ksh
echo "Setting the GRID_HOME env variables"
ORACLE_SID=GRID_HOME;export ORACLE_SID
ORACLE_HOME=$GRID_HOME;export ORACLE_HOME
PS1="`whoami`@`hostname`:`pwd` ^[[1m${ENVIRON}^[[0m [GRID_HOME]$ "
after executing GH in shell , the command prompt stays as is , I mean the value not changing after that ( like cd .. , cd to/another/dir ) ..
what I am missing here ?