3 ms·
This is really nice! Here is an attempt at fish port: function notifyme set MSG $argv[1] "Terminal is done" set TITLE $argv[2] "Done!" osasc
by ivan_ah 6y ago
This is really nice!
Here is an attempt at fish port:
function notifyme
set MSG $argv[1] "Terminal is done"
set TITLE $argv[2] "Done!"
osascript -e "display notification \"$MSG[1]\" with title \"$TITLE[1]\""
end
disclaimer: this is first fish function I ever write so might not be the best way to do default values; I'm using hack from https://unix.stackexchange.com/a/88682 https://unix.stackexchange.com/a/88682