rwx/shell
This commit is contained in:
parent
05e5d00a95
commit
77a53428e1
2 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ x() {
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
[ "$(rwx_shell)" = "bash" ] || return
|
[ "${RWX_SHELL}" = "bash" ] || return
|
||||||
|
|
||||||
# shellcheck disable=SC3033
|
# shellcheck disable=SC3033
|
||||||
..() {
|
..() {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
_rwx_shell_color() {
|
_rwx_shell_color() {
|
||||||
local code="${1}"
|
local code="${1}"
|
||||||
case "$(rwx_shell)" in
|
case "${RWX_SHELL}" in
|
||||||
"bash")
|
"bash")
|
||||||
printf "\x01\e[0"
|
printf "\x01\e[0"
|
||||||
if [ -n "${code}" ]; then
|
if [ -n "${code}" ]; then
|
||||||
|
@ -33,7 +33,7 @@ rwx_shell_configure() {
|
||||||
PS1="\$(rwx_shell_prompt \${?})"
|
PS1="\$(rwx_shell_prompt \${?})"
|
||||||
PS2="├ "
|
PS2="├ "
|
||||||
# specific
|
# specific
|
||||||
case "$(rwx_shell)" in
|
case "${RWX_SHELL}" in
|
||||||
"bash")
|
"bash")
|
||||||
# completion
|
# completion
|
||||||
local root="/usr/share/bash-completion"
|
local root="/usr/share/bash-completion"
|
||||||
|
|
Loading…
Reference in a new issue