Only load iTerm Fish integration on macOS

This commit is contained in:
tim.mccarthy committed 2021-05-17 12:10:55 -07:00
1 parent 6530e35130
commit 2026699cc0
1 file changed
+1 -1
+1 -1
View File
@@ -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 function iterm2_status
printf "\033]133;D;%s\007" $argv printf "\033]133;D;%s\007" $argv
end end