Skip to content

Commit

Permalink
fix: 👷 update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ivaquero committed Aug 2, 2023
1 parent a2505d2 commit 97e4593
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,17 +123,10 @@ echo "${append_str}" >>"${OX_SHELL}"
printf "⚙️ Adding Custom settings..."
cp ${OXIDIZER}/defaults.sh ${OXIDIZER}/custom.sh

if [[ $(uname) = "Darwin" ]]; then
# load zoxide
sed -i.bak "s/.* OX_STARTUP=.*/export OX_STARTUP=1/g" ${OXIDIZER}/custom.sh
# set path of oxidizer
sed -i.bak "source OXIDIZER=.*" "source OXIDIZER=${OXIDIZER}/oxidizer.sh" ${OX_SHELL}
else
# load zoxide
sed -i bak "s/.* OX_STARTUP=.*/export OX_STARTUP=1/g" ${OXIDIZER}/custom.sh
# set path of oxidizer
sed -i bak "s/source OXIDIZER=.*/source OXIDIZER=${OXIDIZER}/oxidizer.sh/g" ${OX_SHELL}
fi
# load zoxide
sed -i.bak "s/.* OX_STARTUP=.*/export OX_STARTUP=1/g" ${OXIDIZER}/custom.sh
# set path of oxidizer
sed -i.bak "s/source OXIDIZER=.*/source OXIDIZER=${OXIDIZER}/oxidizer.sh/g" ${OX_SHELL}

###################################################
# Load Plugins
Expand Down

0 comments on commit 97e4593

Please sign in to comment.