]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - bash/rc
New function source_debug().
[config/dotfiles.git] / bash / rc
diff --git a/bash/rc b/bash/rc
index 9f84fc78f7b3385e016429f9242199a516c5141f..48b6433e26db05e0683514adfe64e6b75a0005a2 100644 (file)
--- a/bash/rc
+++ b/bash/rc
@@ -17,13 +17,14 @@ fi
 # global env.local.
 source_config ~/.shell "" env $host
 
-# Set the prompt; hostname and current working directory are displayed.
-PS1="\h:\w \$ "
 
+# Set the prompt; hostname and current working directory are displayed.
+# Hostname is displayed in green, current directory in blue.
+PS1='\[\033[01;32m\]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\] \$ '
 
 # Use Vi(m) style in bash.
 set -o vi
 
 
 # Load rc file for current hostname (first part before a dot) or rc.local.
-source_config ~/.bash "" rc $host
+source_config ~/.bash host rc $host