diff --git a/tools/install.sh b/tools/install.sh index d91f4ac..6757bb6 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -156,8 +156,7 @@ function _omb_install_user_bashrc { printf '%s\n' "${BLUE}Copying the Oh-My-Bash template file to ~/.bashrc${NORMAL}" export OSH="${OSH//\'/\'\\\'\'}" - "$OSH/templates/bashrc.osh-template" >|~/.bashrc.omb-temp && - _omb_install_run mv -f ~/.bashrc.omb-temp ~/.bashrc + cat "$OSH/templates/bashrc.osh-template" > ~/.bashrc.omb-temp && mv -f ~/.bashrc.omb-temp ~/.bashrc # 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