Last active
April 14, 2022 00:41
-
-
Save gedzeppelin/38bae570cce929c2a1201f2eee0716fd to your computer and use it in GitHub Desktop.
gdzsh theme installer
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
#!/bin/sh | |
set -e | |
sudo apt -y update | |
sudo apt -y install wget git zsh | |
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" "" --unattended | |
sudo chsh -s /usr/bin/zsh $USER | |
wget --backups=1 https://gist.githubusercontent.com/gedzeppelin/959a3f48a486e79e6170cd593386e164/raw/gdzsh-cloud.zsh-theme -P $HOME/.oh-my-zsh/custom/themes/ | |
sed -i 's/ZSH_THEME=".*"/ZSH_THEME="gdzsh-cloud"/' $HOME/.zshrc | |
#exec zsh |
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
#!/bin/sh | |
set -e | |
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" "" --unattended | |
#chsh -s /usr/bin/zsh $USER | |
wget --backups=1 https://gist.githubusercontent.com/gedzeppelin/959a3f48a486e79e6170cd593386e164/raw/gdzsh-cloud.zsh-theme -P $HOME/.oh-my-zsh/custom/themes/ | |
sed -i 's/ZSH_THEME=".*"/ZSH_THEME="gdzsh-cloud"/' $HOME/.zshrc | |
#exec zsh |
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
#!/bin/sh | |
set -e | |
sudo pacman -Sy wget git zsh --noconfirm | |
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" "" --unattended | |
sudo chsh -s /usr/bin/zsh $USER | |
wget --backups=1 https://gist.githubusercontent.com/gedzeppelin/9a69a6d1c5392619dff6097a069c3e18/raw/gdzsh.zsh-theme -P $HOME/.oh-my-zsh/custom/themes/ | |
sed -i 's/ZSH_THEME=".*"/ZSH_THEME="gdzsh"/' $HOME/.zshrc | |
#exec zsh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment