From ee0a71fcd6394ff2f9ba21b88ddc70475c6cfd50 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Thu, 21 Jan 2016 04:44:48 -0600 Subject: [PATCH] color the directory --- sh/bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sh/bashrc b/sh/bashrc index 64a7c17..aa472dd 100644 --- a/sh/bashrc +++ b/sh/bashrc @@ -55,6 +55,7 @@ fi COLOR_RESET='\e[0m' PROMPT_SUCCESS_COLOR='\e[0;34m' PROMPT_FAILURE_COLOR='\e[0;31m' +DIR_COLOR='\e[0;33m' prompt_command_func() { RET=$? @@ -63,7 +64,7 @@ prompt_command_func() else STATUS_COLOR=$PROMPT_FAILURE_COLOR fi; - PS1="$STATUS_COLOR\u@\h$COLOR_RESET \w > " + PS1="$STATUS_COLOR\u@\h$COLOR_RESET $DIR_COLOR\w$COLOR_RESET > " } export PROMPT_COMMAND="prompt_command_func"