all repos — nixfiles @ 1ba96a0584267853ff15e255bfae7afb39bceb7c

System and user configuration, managed by nix and home-manager

zsh: check for gem directory and add bin folder to path if found

Alan Pearce
commit

1ba96a0584267853ff15e255bfae7afb39bceb7c

parent

b17e1928f120ba559929754a26e77b0c04d0aeb9

1 file changed, 7 insertions(+), 0 deletions(-)

jump to
M zsh/zshrczsh/zshrc
@@ -10,6 +10,13 @@ path=(
$defpath ~/bin ) + if [[ -d ~/.gem/ruby ]] + then + path=( + $path + ~/.gem/ruby/*/bin + ) + fi fi if [[ ! -d ~/.zsh/cache ]]