2bb10441da3e9715d580706c9a3aab060350b0e3

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

nyan: deprecate plugin with removal notice

Fixes #6826

Diff

 1diff --git a/plugins/nyan/nyan.plugin.zsh b/plugins/nyan/nyan.plugin.zsh
 2index ac9d0017e528a6b261c807a2fcaaa6f90d05e3e5..c21c784d9bcaf454023d4b27224a92067b2f8f6c 100644
 3--- a/plugins/nyan/nyan.plugin.zsh
 4+++ b/plugins/nyan/nyan.plugin.zsh
 5@@ -1,5 +1,10 @@
 6-if [[ -x `which nc` ]]; then
 7-  alias nyan='nc -v nyancat.dakko.us 23' # nyan cat
 8-fi
 9-
10-
11+print -Pn '%F{yellow}'
12+cat >&2 <<-EOD
13+	nyan plugin:
14+	The nyancat server used by this plugin was shut down due to increased
15+	bandwidth costs, so the nyan plugin no longer works. You can get the
16+	same functionality in some distributions by installing the nyancat package,
17+	or you can compile it yourself.
18+	See https://github.com/klange/nyancat for more information.
19+EOD
20+print -Pn '%f'