Skip to content

Instantly share code, notes, and snippets.

@shettayyy
Created June 29, 2021 10:52
Show Gist options
  • Save shettayyy/9e4a4aad2059ce3176b9e07b9a439c99 to your computer and use it in GitHub Desktop.
Save shettayyy/9e4a4aad2059ce3176b9e07b9a439c99 to your computer and use it in GitHub Desktop.
MacOS Zsh config
# NVM Config
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# NVM bundle
export NVM_LAZY_LOAD=true
# Load Antigen
source /usr/local/share/antigen/antigen.zsh
# Autojump - cd to file quickly by their name
[ -f /usr/local/etc/profile.d/autojump.sh ] && . /usr/local/etc/profile.d/autojump.sh
# Setup zsh-autosuggestions
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
# Load custom aliases
[[ -s "$HOME/.bash_aliases" ]] && source "$HOME/.bash_aliases"
# Load Antigen configurations
antigen init ~/.antigenrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment