diff options
author | Tim O'Brien <timo@t413.com> | 2015-09-14 15:32:50 -0700 |
---|---|---|
committer | Tim O'Brien <timo@t413.com> | 2015-09-14 15:32:50 -0700 |
commit | 797e1f9a64c0d2775723bb28c76745b327f86d56 (patch) | |
tree | 194220cb806c41ffdd92ac813704eeb2b7e00a95 /plugins/bgnotify/bgnotify.plugin.zsh | |
parent | 7c31c7a96391e80bdd6ebdb6579751f4d44d6ac4 (diff) | |
download | zsh-797e1f9a64c0d2775723bb28c76745b327f86d56.tar.gz zsh-797e1f9a64c0d2775723bb28c76745b327f86d56.tar.bz2 zsh-797e1f9a64c0d2775723bb28c76745b327f86d56.zip |
[plugins/bgnotify] fix for iTerm2 notification clicks
Diffstat (limited to 'plugins/bgnotify/bgnotify.plugin.zsh')
-rwxr-xr-x | plugins/bgnotify/bgnotify.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/bgnotify/bgnotify.plugin.zsh b/plugins/bgnotify/bgnotify.plugin.zsh index f6dd3886c..459f5214e 100755 --- a/plugins/bgnotify/bgnotify.plugin.zsh +++ b/plugins/bgnotify/bgnotify.plugin.zsh @@ -32,7 +32,7 @@ currentWindowId () { bgnotify () { ## args: (title, subtitle) if hash terminal-notifier 2>/dev/null; then #osx - [[ "$TERM_PROGRAM" == 'iTerm.app' ]] && term_id='com.googlecode.iterm2' || + [[ "$TERM_PROGRAM" == 'iTerm.app' ]] && term_id='com.googlecode.iterm2'; [[ "$TERM_PROGRAM" == 'Apple_Terminal' ]] && term_id='com.apple.terminal'; ## now call terminal-notifier, (hopefully with $term_id!) [ -z "$term_id" ] && terminal-notifier -message "$2" -title "$1" >/dev/null || |