From 9f3b8c5de8789d72925a2fee054d008d48185605 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Sun, 22 Aug 2021 19:14:23 +1200 Subject: [PATCH] feat(plugin): add ruby --- plugins/ruby | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 plugins/ruby diff --git a/plugins/ruby b/plugins/ruby new file mode 100644 index 0000000..1b8c597 --- /dev/null +++ b/plugins/ruby @@ -0,0 +1,11 @@ +# +# ruby +# + +# Add rubygem binary directory to PATH +if command -v ruby &> /dev/null; then + path+=("$(ruby -e "puts Gem.user_dir")/bin") + export PATH +fi + +# vim: ft=zsh expandtab tabstop=2 shiftwidth=2