Skip to content

Instantly share code, notes, and snippets.

@jhordyess
Created August 23, 2022 20:48
Show Gist options
  • Save jhordyess/cf9714e677b362ae141f9e2d19dd955d to your computer and use it in GitHub Desktop.
Save jhordyess/cf9714e677b362ae141f9e2d19dd955d to your computer and use it in GitHub Desktop.
Instalation zsh, Oh My Zsh, Powerlevel10k theme; and git, zsh-syntax-highlighting, zsh-autosuggestions plugins.
#!/bin/bash
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
sed -i "s/ZSH_THEME=\"robbyrussell\"/ZSH_THEME=\"powerlevel10k\/powerlevel10k\"/g" ~/.zshrc
git clone --depth=1 https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
sed -i "s/plugins=(git)/plugins=(git zsh-syntax-highlighting zsh-autosuggestions)/g" ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment