diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2017-03-18 13:24:26 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2017-03-18 13:24:26 +0300 |
commit | 1ac59158eddf8d827019e964127dd551573b237c (patch) | |
tree | 9c7b9830964a273bcad7a575436cb683b3a0e24a /debug/iterm.zsh | |
parent | aa26c73521ed13aa62d7a751678648c6be3a138c (diff) |
Add warn message if XCode is not installed
Diffstat (limited to 'debug/iterm.zsh')
-rwxr-xr-x | debug/iterm.zsh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |