The command below, when adding to your .bash_profile or .proifle will make your
prompt look something like this:
PS1='${LOGNAME}@${HOSTNAME}:${PWD}>'; export PS1You may need to set the HOSTNAME environment variable for the hostname
part to work, like this: HOSTNAME=`hostname`; export HOSTNAME
No comments:
Post a Comment