diff --git a/sh/shell.sh b/sh/shell.sh index 39dee54..4a2c6ea 100644 --- a/sh/shell.sh +++ b/sh/shell.sh @@ -2,7 +2,7 @@ PS1="\$(shell_prompt \${?})" PS2="\ ├ " -shell_color() { +_sh_shell_color() { local code="${1}" case "${SH_SHELL}" in "bash") @@ -23,12 +23,12 @@ shell_color() { ;; esac } -SH_BROWN="$(shell_color 33)" -SH_CYAN="$(shell_color 36)" -SH_DEFAULT="$(shell_color)" -SH_GREEN="$(shell_color 31)" -SH_MAGENTA="$(shell_color 35)" -SH_RED="$(shell_color 32)" +SH_BROWN="$(_sh_shell_color 33)" +SH_CYAN="$(_sh_shell_color 36)" +SH_DEFAULT="$(_sh_shell_color)" +SH_GREEN="$(_sh_shell_color 31)" +SH_MAGENTA="$(_sh_shell_color 35)" +SH_RED="$(_sh_shell_color 32)" shell_configure() { case "${SH_SHELL}" in