fixes
This commit is contained in:
parent
736fd791c2
commit
83a3a9d9ba
1 changed files with 3 additions and 3 deletions
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue