I have the following text in my user's .profile file:
export PS1="$USER-`uname -n`:\$PWD#"
function go {
cd $1
PS1="`uname -n`:`pwd`# "
export PS1
export PS1="$USER-`uname -n`:\$PWD#"
Yet, whenever i login as the user, only a $ character is displayed when i open a terminal. This is frustrating as it should be an easy thing to fix, yet i just cannot get it right. If i export it manually, its fine, but onlu for that session. Can anyone help?
export PS1="$USER-`uname -n`:\$PWD#"
function go {
cd $1
PS1="`uname -n`:`pwd`# "
export PS1
export PS1="$USER-`uname -n`:\$PWD#"
Yet, whenever i login as the user, only a $ character is displayed when i open a terminal. This is frustrating as it should be an easy thing to fix, yet i just cannot get it right. If i export it manually, its fine, but onlu for that session. Can anyone help?