Skip to content

Instantly share code, notes, and snippets.

@FradSer
Created November 9, 2022 05:54
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FradSer/c7a114009ad2b7a371033a0e5924a7c9 to your computer and use it in GitHub Desktop.
Save FradSer/c7a114009ad2b7a371033a0e5924a7c9 to your computer and use it in GitHub Desktop.
export PATH="/opt/homebrew/bin:$PATH" # Setup Homebrew
eval "$(starship init zsh)" # Setup starship
source $HOME/.config/dotflies/*.zsh # Setup custom dotfiles
# Download Znap, if it's not there yet.
[[ -f $HOME/.znap/zsh-snap/znap.zsh ]] ||
git clone --depth 1 -- \
https://github.com/marlonrichert/zsh-snap.git $HOME/.znap/zsh-snap
source $HOME/.znap/zsh-snap/znap.zsh # Start Znap
# Install zsh plugins by Znap
znap source marlonrichert/zsh-autocomplete
znap source zsh-users/zsh-autosuggestions
znap source zsh-users/zsh-syntax-highlighting
znap source zsh-users/zsh-completions
znap source agkozak/zsh-z
# Setup zsh-completions
fpath=($HOME/.znap/zsh-completions/src $fpath)
autoload -Uz compinit && compinit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment