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

Uninstall ntfy #136

Closed eyalev closed 7 years ago

eyalev commented 7 years ago

Hi,

I'm trying to uninstall ntfy

I've run sudo pip uninstall ntfy but currently every time I run a command in my Z shell, I get an error:

_ntfy_precmd:9: command not found: ntfy

If I run echo $precmd_functions I can see _ntfy_precmd in this list.

How do I remove it?

Thanks

dschep commented 7 years ago

Did you add eval $(ntfy shell-integration) to your .zshrc? If so, you'll need to remove that too.

eyalev commented 7 years ago

Did you add eval $(ntfy shell-integration) to your .zshrc? If so, you'll need to remove that too.

Yes, I removed that.

eyalev commented 7 years ago

I run:

precmd_functions=()

restarted my zshell, and now it's fine.

Thanks

dschep commented 7 years ago

Cool. thanks for letting me know how you fixed it incase anyone else runs into this issue. Sorry I couldn't help much, I don't use zsh personally.

eyalev commented 7 years ago

No problem. Also, this looks like a better solution: http://stackoverflow.com/a/42125494/451710