Created
October 2, 2022 15:06
-
-
Save devoto13/6e810ae7bcd00695c24ef6292094d044 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
# ZSH history | |
HISTFILE=~/.zsh_history | |
HISTSIZE=999999999 | |
SAVEHIST=$HISTSIZE | |
setopt SHARE_HISTORY # Share history between all sessions. | |
setopt HIST_IGNORE_ALL_DUPS # Delete old recorded entry if new entry is a duplicate. | |
setopt HIST_IGNORE_SPACE # Don't record an entry starting with a space. | |
# NVM (must be loaded before OMZ as this snippet is fater then one used by nvm plugin) | |
export NVM_DIR=~/.nvm | |
source /opt/homebrew/opt/nvm/nvm.sh --no-use | |
NODE_VERSION=$(cat $NVM_DIR/alias/default) | |
export PATH="$NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH" | |
# Good Git completion | |
FPATH="/opt/homebrew/opt/git/share/zsh/site-functions:${FPATH}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment