Skip to content

Instantly share code, notes, and snippets.

@vasylherman
Last active October 20, 2023 08:24
Show Gist options
  • Select an option

  • Save vasylherman/91d097d078e3a32dc30a895adfbe8f02 to your computer and use it in GitHub Desktop.

Select an option

Save vasylherman/91d097d078e3a32dc30a895adfbe8f02 to your computer and use it in GitHub Desktop.
oh-my-zsh
# On MAC
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install zsh
# On Ubuntu
sudo apt install zsh -y
# install ohmyzsh and zsh-syntax-highlighting & zsh-autosuggestions & powerlevel10k plugins
sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
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:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
# now, activate plugins in ~/.zshrc See exapmple in comments below πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡
@vasylherman
Copy link
Copy Markdown
Author

vasylherman commented Feb 1, 2023

plugins=( aws git zsh-syntax-highlighting zsh-autosuggestions )

ZSH_THEME="powerlevel10k/powerlevel10k"

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