diff --git a/sh/shell.sh b/sh/shell.sh index a5f1b99..e4fde1b 100644 --- a/sh/shell.sh +++ b/sh/shell.sh @@ -1,6 +1,6 @@ _rwx_shell_color() { local code="${1}" - case "${SH_SHELL}" in + case "${RWX_SHELL}" in "bash") printf "\x01\e[0" if [ -n "${code}" ]; then @@ -33,7 +33,7 @@ rwx_shell_configure() { PS1="\$(rwx_shell_prompt \${?})" PS2="├ " # specific - case "${SH_SHELL}" in + case "${RWX_SHELL}" in "bash") # completion local root="/usr/share/bash-completion" @@ -117,7 +117,7 @@ rwx_shell_prompt() { rwx_shell_setup() { # shell - echo "export ENV=\"${ENV}\"" >"/etc/profile.d/${SH_NAME}.sh" + echo "export ENV=\"${ENV}\"" >"/etc/profile.d/${RWX_NAME}.sh" # bash local file="/etc/bash.bashrc" rm --force --recursive "${file}"