Send OS X desktop notifications from Fish using terminal-notifier.
With fisherman
fisher fishgretel/terminal_notifier
While __send_notification can be called as a function it is recommended to emit events:
emit send_notification 'Hey, you!' 'π π π' 'Take a break and go surfing!'Of course, values can be evaluated at emission:
emit send_notification 'Remember to get out!' 'β² β² β² β² β²' (date)By default, the Submarine sound will be used. To change that add an argument at position 4:
emit send_notification 'Very Important' 'Code fish not eat!' 'Thank you!' Glass