Fix problematic zsh_local ordering

This commit is contained in:
Sage Vaillancourt 2023-12-13 14:00:47 -05:00
parent 9971875597
commit a4a03ebd0f
2 changed files with 5 additions and 5 deletions

View File

@ -73,8 +73,8 @@ fi
echo -n "starship is "
if ! command -v starship &> /dev/null; then
echo "not installed. Installing..."
curl -sS https://starship.rs/install.sh | sh
echo "Starship requires an NFont: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip"
curl -sS https://starship.rs/install.sh | sh
echo "Starship requires an NFont: https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip"
else
echo "already installed."
fi

View File

@ -80,6 +80,9 @@ function getdot {
cd -
}
source ~/.shell_aliases
source ~/.zsh_local
if which starship &> /dev/null; then
eval "$(starship init zsh)"
fi
@ -88,9 +91,6 @@ if test -f ~/.cargo/env; then
source ~/.cargo/env
fi
source ~/.shell_aliases
source ~/.zsh_local
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