From d5f2a969e911535cc3846f37712d0c1ffef8fa0c Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Sat, 12 Jan 2019 14:31:32 +0000 Subject: [PATCH] Only include iTerm2 Bash integration if on Darwin --- .bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc index ae7c039..41c8d96 100755 --- a/.bashrc +++ b/.bashrc @@ -158,7 +158,7 @@ fi #-------------------------------------------------------------------------------- # iTerm2 shell integration #-------------------------------------------------------------------------------- -[ -f ~/.iterm2/shell_integration.bash ] && source ~/.iterm2/shell_integration.bash +[ $(uname -s) = 'Darwin' -a -f ~/.iterm2/shell_integration.bash ] && source ~/.iterm2/shell_integration.bash #-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------