From 2e7952aa0500c92681bb0d87cb17473d6fa14483 Mon Sep 17 00:00:00 2001
From: Rui Coelho <rui.coelho@miniclip.com>
Date: Fri, 28 Oct 2016 13:03:28 +0100
Subject: [PATCH] Include iterm2 integration (if applicable)

---
 modules/terminal/init.zsh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/terminal/init.zsh b/modules/terminal/init.zsh
index b0be5023..df8fac47 100644
--- a/modules/terminal/init.zsh
+++ b/modules/terminal/init.zsh
@@ -119,3 +119,7 @@ then
   # Sets the tab and window titles before command execution.
   add-zsh-hook preexec _terminal-set-titles-with-command
 fi
+
+# Iterm2 integration
+test -e "${HOME}/.iterm2_shell_integration.zsh" && \
+  source "${HOME}/.iterm2_shell_integration.zsh"
\ No newline at end of file