setup/main
This commit is contained in:
parent
428ea3e9e5
commit
9b0b4ecb80
1 changed files with 3 additions and 2 deletions
|
@ -117,9 +117,10 @@ rwx_shell_prompt() {
|
||||||
|
|
||||||
rwx_shell_setup() {
|
rwx_shell_setup() {
|
||||||
# shell
|
# shell
|
||||||
echo "export ENV=\"${ENV}\"" >"/etc/profile.d/${RWX_SELF_NAME}.sh"
|
echo "export ENV=\"${RWX_MAIN_PATH}\"" \
|
||||||
|
>"/etc/profile.d/${RWX_SELF_NAME}.sh"
|
||||||
# bash
|
# bash
|
||||||
local file="/etc/bash.bashrc"
|
local file="/etc/bash.bashrc"
|
||||||
rm --force --recursive "${file}"
|
rm --force --recursive "${file}"
|
||||||
ln --symbolic "${ENV}" "${file}"
|
ln --symbolic "${RWX_MAIN_PATH}" "${file}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue