From 1ac59158eddf8d827019e964127dd551573b237c Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Sat, 18 Mar 2017 11:24:26 +0100 Subject: [PATCH] Add warn message if XCode is not installed --- debug/iterm.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debug/iterm.zsh b/debug/iterm.zsh index bc3e72b4..f9752540 100755 --- a/debug/iterm.zsh +++ b/debug/iterm.zsh @@ -6,6 +6,11 @@ if [[ "$TERM_PROGRAM" != "iTerm.app" ]]; then exit 1 fi +if [[ ! -x "/usr/libexec/PlistBuddy" ]]; then + print "To use this debug script, you need to install XCode!" + exit 1 +fi + local normalFont local type local command