Skip to content

Instantly share code, notes, and snippets.

@serenitii
Created April 18, 2020 05:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save serenitii/dc2974f836696b4c344ea653e715f774 to your computer and use it in GitHub Desktop.
Save serenitii/dc2974f836696b4c344ea653e715f774 to your computer and use it in GitHub Desktop.
Setup command line environment

Install zsh env

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Install powerlevel10 theme

sudo apt install fonts-powerline
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k

Set ZSH_THEME="powerlevel10k/powerlevel10k" in ~/.zshrc.

Install zsh-autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions

Install zsh-syntax-highlighting

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

Set below in `~/.zshrc'

plugins=(git z zsh-autosuggestions zsh-syntax-highlighting docker dotenv microk8s npm tmux systemd sudo sublime ubuntu vagrant yarn ufw )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment