Fixed PS1 prompt.
authorshort <>
Mon, 1 Mar 2004 23:11:34 +0000 (23:11 +0000)
committershort <>
Mon, 1 Mar 2004 23:11:34 +0000 (23:11 +0000)
.bashrc

diff --git a/.bashrc b/.bashrc
index bf2435e..9844dd4 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -126,7 +126,7 @@ for file in $HOME/.bookmarks.html;do
        done
 export GREP_OPTIONS="--binary-files=without-match --directories=skip"
 if [ -n "$PS1" ];then  # set only in interactive sessions
-       export PS1="${USER}[bash]@`uname -n`# "
+       export PS1='[bash]${USER}@${HOSTNAME}:${PWD}# '
        # kbd_mode -u   # utf-8
        # export PS1='\[\017\033%G\]'"$PS1"     # \017=std charmap, \033%G=utf-8
        export PS1='\[\017\]'"$PS1"     # \017=std charmap