Diff
1diff --git a/plugins/rbfu/README.md b/plugins/rbfu/README.md
2deleted file mode 100644
3index fbcab64deb074f2d769744a16f4fce5df7a4c736..0000000000000000000000000000000000000000
4--- a/plugins/rbfu/README.md
5+++ /dev/null
6@@ -1,18 +0,0 @@
7-# rbfu plugin
8-
9-This plugin starts [rbfu](https://github.com/hmans/rbfu), a minimal Ruby version
10-manager, and adds some useful functions.
11-
12-To use it, add `rbfu` to the plugins array in your zshrc file:
13-
14-```zsh
15-plugins=(... rbfu)
16-```
17-
18-**Note: `rbfu` is deprecated and should no longer be used.**
19-
20-## Functions
21-
22-- `rbfu-rubies`: lists all installed rubies available to rbfu.
23-
24-- `rvm_prompt_info`: shows the Ruby version being used with rbfu.
25diff --git a/plugins/rbfu/rbfu.plugin.zsh b/plugins/rbfu/rbfu.plugin.zsh
26deleted file mode 100644
27index 27dc3eec65224246931a97519dcd49f3afde2eb9..0000000000000000000000000000000000000000
28--- a/plugins/rbfu/rbfu.plugin.zsh
29+++ /dev/null
30@@ -1,49 +0,0 @@
31-# Enables rbfu with --auto option, if available.
32-#
33-# Also provides a command to list all installed/available
34-# rubies. To ensure compatibility with themes, creates the
35-# rvm_prompt_info function to return the $RBFU_RUBY_VERSION
36-# version.
37-
38-command -v rbfu &>/dev/null || return
39-
40-eval "$(rbfu --init --auto)"
41-
42-# Internal: Print ruby version details, if it's currently active, etc.
43-function _rbfu_rubies_print() {
44- # 1: path to ruby file
45- # 2: active ruby
46- local rb rb_out
47- rb="${$1:t}"
48- rb_out="$rb"
49-
50- # If the ruby is a symlink, add @ to the name.
51- if [[ -h "$1" ]]; then
52- rb_out="${rb_out}${fg[green]}@${reset_color}"
53- fi
54-
55- # If the ruby is active, add * to the name and show it in red.
56- if [[ "$rb" = "$2" ]]; then
57- rb_out="${fg[red]}${rb_out} ${fg[red]}*${reset_color}"
58- fi
59-
60- echo $rb_out
61-}
62-
63-# Public: Provide a list with all available rubies, this basically depends
64-# on ~/.rfbu/rubies. Highlights the currently active ruby version and aliases.
65-function rbfu-rubies() {
66- local rbfu_dir active_rb
67- rbfu_dir="${RBFU_RUBIES:-${HOME}/.rbfu/rubies}"
68- active_rb="${RBFU_RUBY_VERSION:-system}"
69-
70- _rbfu_rubies_print "${rbfu_dir}/system" "$active_rb"
71- for rb in ${rbfu_dir}/*(N); do
72- _rbfu_rubies_print "$rb" "$active_rb"
73- done
74-}
75-
76-# Public: Create rvm_prompt_info command for themes compatibility, unless
77-# it has already been defined.
78-(( ${+functions[rvm_prompt_info]} )) || \
79-function rvm_prompt_info() { echo "${${RBFU_RUBY_VERSION:=system}:gs/%/%%}" }