ee30bc535a5a9ec1f062558af2ed8b83ad5af7a6

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

Message

refactor(fig)!: remove archived `fig` plugin

BREAKING CHANGE: the fig plugin has been removed. `fig` was sunset
on September 1, 2024. Having this plugin no longer makes sense.
See https://fig.io/ for more information.

Diff

 1diff --git a/plugins/fig/README.md b/plugins/fig/README.md
 2deleted file mode 100644
 3index 3861958d6f8a2c0e0536d632484c98728aed7cb2..0000000000000000000000000000000000000000
 4--- a/plugins/fig/README.md
 5+++ /dev/null
 6@@ -1,9 +0,0 @@
 7-# Fig plugin
 8-
 9-This plugin sets up completion for [Fig](https://fig.io/).
10-
11-To use it, add `fig` to the plugins array in your zshrc file:
12-
13-```zsh
14-plugins=(... fig)
15-```
16diff --git a/plugins/fig/fig.plugin.zsh b/plugins/fig/fig.plugin.zsh
17deleted file mode 100644
18index cddb6c7c04212c7dc29c1eb09f7271cc115c9861..0000000000000000000000000000000000000000
19--- a/plugins/fig/fig.plugin.zsh
20+++ /dev/null
21@@ -1,13 +0,0 @@
22-if ! (( $+commands[fig] )); then
23-  return
24-fi
25-
26-# If the completion file doesn't exist yet, we need to autoload it and
27-# bind it to `fig`. Otherwise, compinit will have already done that
28-if [[ ! -f "$ZSH_CACHE_DIR/completions/_fig" ]]; then
29-  autoload -Uz _fig
30-  typeset -g -A _comps
31-  _comps[fig]=_fig
32-fi
33-
34-fig completion zsh >| "$ZSH_CACHE_DIR/completions/_fig" &|