Skip starship on Windows

This commit is contained in:
Sage Vaillancourt 2024-10-04 11:17:24 -04:00
parent bbe841e8ec
commit 09476d019f
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ if ! command -v gron &> /dev/null; then
rm gron.tgz
fi
require git wget curl find jq gron
require git wget curl find jq
mkdir -p "$HOME/.tmp" || exit 1

View File

@ -324,7 +324,7 @@ function getdot {
lockfor "$SYNC_LOCK_FILE" 90 _getdot $@
}
if which starship &> /dev/null; then
if [[ "$OS" != "Windows_NT" ]] && which starship &> /dev/null; then
eval "$(starship init zsh)"
fi