maelamrani
Member
Hello,
After i setup postgres packages i wanna load the .bash_profil after using su - postgres
because i use
source ~/.bash_profil
-bash-4.2$ cat ~/.bash_profil
[ -f /etc/profile ] && source /etc/profile
PGDATA=/opt/rh/postgresql92/root/var/lib/pgsql/data
export PGDATA
PATH=$PATH : opt/rh/postgresql92/root/usr/bin
export PATH
-bash-4.2$
to charge it
So what should i do to not use source and its load automatically?
kind regards,
After i setup postgres packages i wanna load the .bash_profil after using su - postgres
because i use
source ~/.bash_profil
-bash-4.2$ cat ~/.bash_profil
[ -f /etc/profile ] && source /etc/profile
PGDATA=/opt/rh/postgresql92/root/var/lib/pgsql/data
export PGDATA
PATH=$PATH : opt/rh/postgresql92/root/usr/bin
export PATH
-bash-4.2$
to charge it
So what should i do to not use source and its load automatically?
kind regards,