From 2026699cc0b9a66d8f0011306c8b4b451cacb429 Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Mon, 17 May 2021 12:10:55 -0700 Subject: [PATCH] Only load iTerm Fish integration on macOS --- fish/apps/iterm2.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish/apps/iterm2.fish b/fish/apps/iterm2.fish index ddd68a7..5c64f8b 100644 --- a/fish/apps/iterm2.fish +++ b/fish/apps/iterm2.fish @@ -1,4 +1,4 @@ -if begin; status --is-interactive; and not functions -q -- iterm2_status; and [ "$TERM" != screen ]; end +if begin; status --is-interactive; and not functions -q -- iterm2_status; and [ "$TERM" != screen ]; and [ (uname) = Darwin ]; end function iterm2_status printf "\033]133;D;%s\007" $argv end