]> ruderich.org/simon Gitweb - config/dotfiles.git/commitdiff
Added prompt for bash.
authorSimon Ruderich <simon@ruderich.org>
Thu, 2 Oct 2008 12:22:06 +0000 (14:22 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 16 Feb 2009 15:34:39 +0000 (16:34 +0100)
bash/rc

diff --git a/bash/rc b/bash/rc
index cafc77fca01c2782c334274b3e93f6e1f4988dcd..9f84fc78f7b3385e016429f9242199a516c5141f 100644 (file)
--- a/bash/rc
+++ b/bash/rc
@@ -17,6 +17,9 @@ fi
 # global env.local.
 source_config ~/.shell "" env $host
 
+# Set the prompt; hostname and current working directory are displayed.
+PS1="\h:\w \$ "
+
 
 # Use Vi(m) style in bash.
 set -o vi