From 09476d019f10b0226b7048cd9cb19f6fbf5430f7 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Fri, 4 Oct 2024 11:17:24 -0400 Subject: [PATCH] Skip starship on Windows --- copy.sh | 2 +- fake_home/.zshrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/copy.sh b/copy.sh index 2a5481b..3be2ec1 100755 --- a/copy.sh +++ b/copy.sh @@ -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 diff --git a/fake_home/.zshrc b/fake_home/.zshrc index 4191782..b8b6cec 100644 --- a/fake_home/.zshrc +++ b/fake_home/.zshrc @@ -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