Skip to content

Instantly share code, notes, and snippets.

@vasylherman
Last active February 6, 2025 13:13
Show Gist options
  • Save vasylherman/2b4ff2b74ebe08a775a2b000865d33be to your computer and use it in GitHub Desktop.
Save vasylherman/2b4ff2b74ebe08a775a2b000865d33be to your computer and use it in GitHub Desktop.
oh-my-zsh-cmd
sudo apt update -y
echo install zsh
sudo apt install zsh -y
yes | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
sed -i -e 's/ZSH_THEME="robbyrussell"/ZSH_THEME="powerlevel10k\/powerlevel10k"/g' ~/.zshrc
sed -i -e 's/plugins=(git)/plugins=(git zsh-syntax-highlighting zsh-autosuggestions aws asdf)/g' ~/.zshrc
grep -qxF 'POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true' ~/.zshrc || echo 'POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true' >> ~/.zshrc
sudo chsh -s $(which zsh) $USER
@vasylherman
Copy link
Author

vasylherman commented Aug 21, 2024

curl -fsSL https://gist.githubusercontent.com/vasylherman/2b4ff2b74ebe08a775a2b000865d33be/raw/ed6e3627d82b9b71ab243bd74a06404496b0de68 | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment