1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-17 07:43:46 -05:00

Remove fish completion script

fish ships with a much more capable rbenv completion script since fish 2.0.

Fixes #1212
This commit is contained in:
Mislav Marohnić
2020-01-28 17:47:59 +01:00
parent 7795476af1
commit 569d464d36
3 changed files with 8 additions and 25 deletions

View File

@@ -1,18 +0,0 @@
if [[ ! -o interactive ]]; then
return
fi
compctl -K _rbenv rbenv
_rbenv() {
local words completions
read -cA words
if [ "${#words}" -eq 2 ]; then
completions="$(rbenv commands)"
else
completions="$(rbenv completions ${words[2,-2]})"
fi
reply=("${(ps:\n:)completions}")
}