fix
This commit is contained in:
parent
5f189ce1ee
commit
700406ae94
@ -156,8 +156,7 @@ function _omb_install_user_bashrc {
|
|||||||
printf '%s\n' "${BLUE}Copying the Oh-My-Bash template file to ~/.bashrc${NORMAL}"
|
printf '%s\n' "${BLUE}Copying the Oh-My-Bash template file to ~/.bashrc${NORMAL}"
|
||||||
|
|
||||||
export OSH="${OSH//\'/\'\\\'\'}"
|
export OSH="${OSH//\'/\'\\\'\'}"
|
||||||
"$OSH/templates/bashrc.osh-template" >|~/.bashrc.omb-temp &&
|
cat "$OSH/templates/bashrc.osh-template" > ~/.bashrc.omb-temp && mv -f ~/.bashrc.omb-temp ~/.bashrc
|
||||||
_omb_install_run mv -f ~/.bashrc.omb-temp ~/.bashrc
|
|
||||||
|
|
||||||
# If "source ~/.bashrc" is not found in ~/.bash_profile or ~/.profile, we try
|
# If "source ~/.bashrc" is not found in ~/.bash_profile or ~/.profile, we try
|
||||||
# to create a new ~/.bash_profile with the default content or show messages
|
# to create a new ~/.bash_profile with the default content or show messages
|
||||||
|
Loading…
Reference in New Issue
Block a user