dotfiles/fish/completions/cdgem.fish

6 lines
118 B
Fish

function __gem_names
gem list --no-versions | grep -v '*'
end
complete -x -c cdgem -d 'gem name' -a "(__gem_names)"