Skip starship on Windows
This commit is contained in:
parent
bbe841e8ec
commit
09476d019f
2
copy.sh
2
copy.sh
|
@ -27,7 +27,7 @@ if ! command -v gron &> /dev/null; then
|
||||||
rm gron.tgz
|
rm gron.tgz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
require git wget curl find jq gron
|
require git wget curl find jq
|
||||||
|
|
||||||
mkdir -p "$HOME/.tmp" || exit 1
|
mkdir -p "$HOME/.tmp" || exit 1
|
||||||
|
|
||||||
|
|
|
@ -324,7 +324,7 @@ function getdot {
|
||||||
lockfor "$SYNC_LOCK_FILE" 90 _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)"
|
eval "$(starship init zsh)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue