From 9a0c153797eae23e08dbb7eece44aca71fb25d81 Mon Sep 17 00:00:00 2001 From: Joshua Finch Date: Tue, 11 Feb 2025 07:54:51 -0600 Subject: [PATCH] Altering the zshrc file to remove correctall because it's incredibly annoying and adding in NVM loading (will need testing on systems that don't have it installed). --- zshrc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 040e035..2acc9da 100644 --- a/zshrc +++ b/zshrc @@ -20,7 +20,7 @@ HYPHEN_INSENSITIVE="true" # Uncomment one of the following lines to change the auto-update behavior zstyle ':omz:update' mode reminder frequency 14 -# Plugins +### Plugins # Install the zsh-autosuggestions plugin if it doesn't exist if [ ! -d ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ] then @@ -45,7 +45,7 @@ source $ZSH/oh-my-zsh.sh setopt NO_clobber # Do not clobber files by default setopt hist_ignore_all_dups # Replace old history with the newest call to an identical call setopt hist_ignore_space # Remove history lines that start with spaces -setopt correctall # Correct commands +# setopt correctall # Correct commands # Enable compinit advanced completion autoload -Uz compinit @@ -101,3 +101,8 @@ for file in $include_files; do source $file done + +# NVM required config +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion