Skip to content

Commit

Permalink
fix a bug defaults.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaquero committed May 21, 2024
1 parent 8584af3 commit ade283f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion defaults.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export OX_STARTUP=1

startup() {
# start directory
cd "${HOME}"/Desktop || exit
cd "${HOME}" || exit
}

##########################################################
Expand Down
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ case ${SHELL} in
printf "📦 Installing latest Bash...\n"
brew install bash bash-completion
fi
export OX_SHELL=${HOME}/.profile
if [[ -f "${HOME}/.bashrc" ]]; then
export OX_SHELL=${HOME}/.bashrc
elif [[ -f "${HOME}/.bash_profile" ]]; then
export OX_SHELL=${HOME}/.profile
fi
echo 'export BASH_SILENCE_DEPRECATION_WARNING=1' >>"${OX_SHELL}"
;;
esac
Expand Down

0 comments on commit ade283f

Please sign in to comment.