fixed line-wrapping error in PS1

This commit is contained in:
Daniel Flanagan 2016-01-22 05:45:14 -06:00
parent cf3fa25c16
commit 41b9d49c7a

View file

@ -53,10 +53,10 @@ if command -v nvim >/dev/null 2>&1; then
fi fi
# prompt # prompt
COLOR_RESET='\e[0m' COLOR_RESET='\[\e[0m\]'
PROMPT_SUCCESS_COLOR='\e[0;34m' PROMPT_SUCCESS_COLOR='\[\e[0;34m\]'
PROMPT_FAILURE_COLOR='\e[0;31m' PROMPT_FAILURE_COLOR='\[\e[0;31m\]'
DIR_COLOR='\e[0;33m' DIR_COLOR='\[\e[0;33m\]'
prompt_command_func() prompt_command_func()
{ {
RET=$? RET=$?