Skip to content

Instantly share code, notes, and snippets.

@washopilot
Last active February 13, 2024 06:16
Show Gist options
  • Save washopilot/c178f5456082dcd39e02bd635d3a7bac to your computer and use it in GitHub Desktop.
Save washopilot/c178f5456082dcd39e02bd635d3a7bac to your computer and use it in GitHub Desktop.
Oh My Zsh + PowerLevel10k
https://dev.to/abdfnx/oh-my-zsh-powerlevel10k-cool-terminal-1no0
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
Then you need to enable it, change the value of ZSH_THEME to following in ~/.zshrc file:
ZSH_THEME="powerlevel10k/powerlevel10k"
p10k configure
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
In ~/.zshrc file replace the line starting with plugins=() to below line:
plugins=( git zsh-syntax-highlighting zsh-autosuggestions )
OPTIONAL (Fedora)
sudo dnf install fzf
plugins=(git zsh-syntax-highlighting zsh-autosuggestions zsh-interactive-cd)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment