From 83a3a9d9baa18ce9ba778ed940fb7d2dd1bb5935 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 29 Nov 2024 22:20:34 +0100 Subject: [PATCH] fixes --- sh/shell.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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}"