fixed line-wrapping error in PS1
This commit is contained in:
parent
cf3fa25c16
commit
41b9d49c7a
1 changed files with 4 additions and 4 deletions
|
@ -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=$?
|
||||||
|
|
Reference in a new issue