-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
12 changed files
with
60 additions
and
46 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
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
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
#! /bin/zsh | ||
|
||
echo "Installing bun... π" | ||
curl -fsSL https://bun.sh/install | bash | ||
|
||
echo "# bun" >> ~/.zshrc | ||
echo "export BUN_INSTALL=\"\$HOME/.bun\"" >> ~/.zshrc | ||
echo "export PATH=\$BUN_INSTALL/bin:\$PATH" >> ~/.zshrc | ||
|
||
source /home/node/.zshrc | ||
echo "Done! π" |
4 changes: 2 additions & 2 deletions
4
scripts/git-hooks.sh β scripts/install/install-git-hooks.sh
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,4 +1,4 @@ | ||
#! /bin/sh | ||
echo "Installing git hooks... π" | ||
npm install --global git-conventional-commits | ||
git config core.hooksPath .git-hooks | ||
git config core.hooksPath .git-hooks | ||
echo "Done! π" |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# ZSH powerlevel10k | ||
echo "Installing ZSH powerlevel10k... π" | ||
#? Install powerlevel10k | ||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k | ||
# sed -i 's/ZSH_THEME=.*/ZSH_THEME="powerlevel10k\/powerlevel10k"/g' ${ZDOTDIR:-$HOME}/.zshrc | ||
# echo '' >> ~/.zshrc | ||
# echo 'POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true' >> ~/.zshrc | ||
cp .devcontainer/.p10k.zsh ${ZDOTDIR:-$HOME}/.p10k.zsh | ||
cp .devcontainer/.zshrc ${ZDOTDIR:-$HOME}/.zshrc | ||
|
||
#? Install zsh syntax highlighting | ||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | ||
echo "source ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc | ||
|
||
#? Install zsh autosuggestions | ||
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | ||
|
||
echo "Done! π" |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
echo "π Installing ZSH powerlevel10k..." | ||
./scripts/install/install-zsh10k.sh 1>/dev/null 2>&1 | ||
echo "π₯ Installing bun..." | ||
./scripts/install/install-bun.sh 1>/dev/null 2>&1 | ||
echo "π οΈ Installing git hooks..." | ||
./scripts/install/install-git-hooks.sh 1>/dev/null 2>&1 | ||
echo "π¦ Installing dependencies..." | ||
npm install 1>/dev/null 2>&1 | ||
echo "π Installing done!" |
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