浏览代码

nyan: deprecate plugin with removal notice

Fixes #6826
Marc Cornellà 6 年之前
父节点
当前提交
2bb10441da
共有 1 个文件被更改,包括 10 次插入5 次删除
  1. 10 5
      plugins/nyan/nyan.plugin.zsh

+ 10 - 5
plugins/nyan/nyan.plugin.zsh

@@ -1,5 +1,10 @@
-if [[ -x `which nc` ]]; then
-  alias nyan='nc -v nyancat.dakko.us 23' # nyan cat
-fi
-
-
+print -Pn '%F{yellow}'
+cat >&2 <<-EOD
+	nyan plugin:
+	The nyancat server used by this plugin was shut down due to increased
+	bandwidth costs, so the nyan plugin no longer works. You can get the
+	same functionality in some distributions by installing the nyancat package,
+	or you can compile it yourself.
+	See https://github.com/klange/nyancat for more information.
+EOD
+print -Pn '%f'