dschep / ntfy

🖥️📱🔔 A utility for sending notifications, on demand and when commands finish.
http://ntfy.rtfd.io
GNU General Public License v3.0
4.83k stars 214 forks source link

ntfy shell integration ignore doesn't match subcommand. #191

Open xiaoniu-578fa6bff964d005 opened 5 years ago

xiaoniu-578fa6bff964d005 commented 5 years ago

Many useful tools have subcommands which need different notify policy. For example, git log and git clone should be handled differently. Currently a command is only judged by its basename (source). Is it possible that ntfy support subcommand match in the future?

dschep commented 5 years ago

I think that would be a useful feature! I'd be happy to accept a PR implementing it.