cc065c7bfa03ccf2accc8a09674de4a9b9a95adc

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

Message

Remove git-remote-branch and nyan plugins (deprecated)

Diff

 1diff --git a/plugins/git-remote-branch/README.md b/plugins/git-remote-branch/README.md
 2deleted file mode 100644
 3index d4eb75954d648b56564364977833aa811373b6ee..0000000000000000000000000000000000000000
 4--- a/plugins/git-remote-branch/README.md
 5+++ /dev/null
 6@@ -1,15 +0,0 @@
 7-# git-remote-branch plugin
 8-
 9-This plugin adds completion for [`grb`](https://github.com/webmat/git_remote_branch),
10-or `git_remote_branch`.
11-
12-To use it, add `git-remote-branch` to the plugins array of your zshrc file:
13-
14-```zsh
15-plugins=(... git-remote-branch)
16-```
17-
18-## Deprecation
19-
20-[git_remote_branch was archived in 2018](https://github.com/webmat/git_remote_branch#archived),
21-meaning it's not actively maintained anymore. Use at your own risk.
22diff --git a/plugins/git-remote-branch/git-remote-branch.plugin.zsh b/plugins/git-remote-branch/git-remote-branch.plugin.zsh
23deleted file mode 100644
24index 6c5ab8f70d38b228bd8d927e1b27b5e186eb6220..0000000000000000000000000000000000000000
25--- a/plugins/git-remote-branch/git-remote-branch.plugin.zsh
26+++ /dev/null
27@@ -1,19 +0,0 @@
28-_git_remote_branch() {
29-  ref=$(git symbolic-ref HEAD 2> /dev/null)
30-  if [[ -n $ref ]]; then
31-    if (( CURRENT == 2 )); then
32-      # first arg: operation
33-      compadd create publish rename delete track
34-    elif (( CURRENT == 3 )); then
35-      # second arg: remote branch name
36-      remotes=`git remote | tr '\n' '|' | sed "s/\|$//g"`
37-      compadd `git branch -r | grep -v HEAD | sed "s/$remotes\///" | sed "s/ //g"`
38-    elif (( CURRENT == 4 )); then
39-      # third arg: remote name
40-      compadd `git remote`
41-    fi
42-  else;
43-    _files
44-  fi
45-}
46-compdef _git_remote_branch grb
47diff --git a/plugins/nyan/README.md b/plugins/nyan/README.md
48deleted file mode 100644
49index 592941824813a6316606a9e009a16179a127d7ad..0000000000000000000000000000000000000000
50--- a/plugins/nyan/README.md
51+++ /dev/null
52@@ -1,5 +0,0 @@
53-# Nyan plugin
54-
55-This plugin adds a command to display [Nyan Cat](https://en.wikipedia.org/wiki/Nyan_Cat) right inside your terminal.
56-
57-**Plugin is deprecated**. Check [official repo](https://github.com/klange/nyancat) for more information.
58diff --git a/plugins/nyan/nyan.plugin.zsh b/plugins/nyan/nyan.plugin.zsh
59deleted file mode 100644
60index c21c784d9bcaf454023d4b27224a92067b2f8f6c..0000000000000000000000000000000000000000
61--- a/plugins/nyan/nyan.plugin.zsh
62+++ /dev/null
63@@ -1,10 +0,0 @@
64-print -Pn '%F{yellow}'
65-cat >&2 <<-EOD
66-	nyan plugin:
67-	The nyancat server used by this plugin was shut down due to increased
68-	bandwidth costs, so the nyan plugin no longer works. You can get the
69-	same functionality in some distributions by installing the nyancat package,
70-	or you can compile it yourself.
71-	See https://github.com/klange/nyancat for more information.
72-EOD
73-print -Pn '%f'