grunt-notify
grunt-notify copied to clipboard
tmux support
Hello,
whenever I am in a tmux session, the grunt-notify notifications are not shown anymore by terminal-notifier
.
I'm using the latest grunt-notify version and tmux 1.9a
on OS X 10.10.2.
I already found issue #88, where @scottwio struggled with the same issue, however I am not sure how reattach-to-user-namespace
is related to this.
Perhaps some of you have an idea what's going on here.
Thanks in advance, Jonas
Got the same issue here.
Okay, just found out...
- You need
reattach-to-user-namespace
for whatever reasons. (brew install reattach-to-user-namespace
) - Add the following in your
~/.tmux.conf
:
set-option -g default-command "which reattach-to-user-namespace > /dev/null && reattach-to-user-namespace -l $SHELL || $SHELL"
Not sure why, but it's working fine.
(via https://github.com/alloy/terminal-notifier/issues/115#issuecomment-71874815)
Thanks man! :+1: