tannercollin / Notica

Send browser notifications from your terminal. No installation. No registration.
https://notica.us
MIT License
344 stars 22 forks source link

alias not found in zsh #15

Closed sigmap closed 5 years ago

sigmap commented 5 years ago

I'm not sure how I'm supposed to add notica() { curl --data "d:$*" "https://push.alarm.moon/?ID" ; } to my .zshrc and make it work

tannercollin commented 5 years ago

I don't know anything about zsh, but replacing the * with an @ and wrapping my message in quotes seemed to work for me.

So it becomes: notica() { curl --data "d:$@" "https://push.alarm.moon/?ID" ; }

It would be nice to not need quotes, though.

sigmap commented 5 years ago

worked, thanks