From aca0d762c154e8a48ff0f9e8b4df5a645ffb81e5 Mon Sep 17 00:00:00 2001 From: short <> Date: Mon, 1 Mar 2004 23:11:34 +0000 Subject: [PATCH] Fixed PS1 prompt. --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index bf2435e..9844dd4 100644 --- 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 -- 1.8.3.1