-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1226ff0
commit 63d69a9
Showing
12 changed files
with
90 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
BLUE='\033[0;34m' | ||
NONE='\033[0m' | ||
PREFIX="${BLUE}=>${NONE} " | ||
echo -e "${PREFIX}Downloading oxup" | ||
echo -e "${PREFIX}Downloading oxate" | ||
|
||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then | ||
curl -LO https://github.com/oxidic/oxup/releases/latest/download/oxup | ||
chmod +x oxup | ||
./oxup setup -n | ||
curl -LO https://github.com/oxidic/oxate/releases/latest/download/oxate | ||
chmod +x oxate | ||
./oxate setup | ||
elif [[ "$OSTYPE" == "darwin"* ]]; then | ||
curl -LO https://github.com/oxidic/oxup/releases/latest/download/oxup-darwin | ||
chmod +x oxup-darwin | ||
./oxup-darwin setup -n | ||
curl -LO https://github.com/oxidic/oxate/releases/latest/download/oxate-darwin | ||
chmod +x oxate-darwin | ||
./oxate-darwin setup | ||
else | ||
curl -LO https://github.com/oxidic/oxup/releases/latest/download/oxup.exe | ||
./oxup.exe setup -n | ||
curl -LO https://github.com/oxidic/oxate/releases/latest/download/oxate.exe | ||
./oxate.exe setup | ||
fi | ||
|
||
if [[ $SHELL == *bash ]]; then | ||
echo '. "$HOME/.oxido/env"' >> $HOME/.bashrc | ||
elif [[ $SHELL == *zsh ]]; then | ||
echo '. "$HOME/.oxido/env"' >> $HOME/.zshrc | ||
else | ||
echo -e "${PREFIX}Add the following lines to your shell configuration to add oxup to PATH: \`. \"$HOME/.oxido/env\"\`" | ||
fi | ||
echo -e "${PREFIX}Add the following lines to your shell configuration to add oxate to PATH: \`. \"$HOME/.oxido/env\"\`" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.