Created
November 9, 2022 05:54
-
-
Save FradSer/c7a114009ad2b7a371033a0e5924a7c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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