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 5833cac commit 6ce3273
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ cp -R -v "$env:OXIDIZER\defaults.ps1" "$env:OXIDIZER\custom.ps1"
sed -i.bak "s|.* OX_STARTUP = .*|$Global:OX_STARTUP=1|" "$env:OXIDIZER\custom.ps1"
# set path of oxidizer
# sed -i.bak "s| = .*\oxidizer.ps1| = $env:OXIDIZER\oxidizer.ps1|" $PROFILE
cat $PROFILE | rg -o 'source .+'
echo $(cat $PROFILE | rg -o 'source .+')

###################################################
# Load Plugins
Expand All @@ -110,4 +110,4 @@ if (Get-Command code -ErrorAction SilentlyContinue) {

echo "Oxidizer installation complete!"
echo "Don't forget to restart your terminal and hit 'edf ox' to tweak your preferences.\n"
echo "Finally, run 'upox' function to activate the plugins. Enjoy\!"
echo "Finally, run 'upox' function to activate the plugins. Enjoy!"
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ cp ${OXIDIZER}/defaults.sh ${OXIDIZER}/custom.sh
sed -i.bak "s|.* OX_STARTUP=.*|export OX_STARTUP=1|" ${OXIDIZER}/custom.sh
# set path of oxidizer
# echo "source OXIDIZER=${OXIDIZER}/oxidizer.sh" | xargs -I '{}' sed -i.bak '' 's|source OXIDIZER=.*|{}|' ${OX_SHELL}
cat ${OX_SHELL} | rg -o 'source .+'
echo $(cat ${OX_SHELL} | rg -o 'source .+')

###################################################
# Load Plugins
Expand All @@ -148,4 +148,4 @@ fi

printf "πŸŽ‰ Oxidizer installation complete!\n"
printf "πŸ’‘ Don't forget to restart your terminal and hit 'edf ox' to tweak your preferences.\n"
printf "πŸ˜€ Finally, run 'upox' function to activate the plugins. Enjoy\!\n"
printf "πŸ˜€ Finally, run 'upox' function to activate the plugins. Enjoy!\n"

0 comments on commit 6ce3273

Please sign in to comment.