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 #-------------------------------------------------------------------------------- #--------------------------------------------------------------------------------