Skip to content

Instantly share code, notes, and snippets.

@vasylherman
Last active August 13, 2025 07:12
Show Gist options
  • Select an option

  • Save vasylherman/2b4ff2b74ebe08a775a2b000865d33be to your computer and use it in GitHub Desktop.

Select an option

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
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)/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 | bash

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