diff options
author | Alan Pearce | 2013-07-29 15:42:44 +0100 |
---|---|---|
committer | Alan Pearce | 2013-07-29 15:42:44 +0100 |
commit | 1ba96a0584267853ff15e255bfae7afb39bceb7c (patch) | |
tree | b625914c21ee7583ae9c9e89cd270361130d4b7a /zsh | |
parent | b17e1928f120ba559929754a26e77b0c04d0aeb9 (diff) | |
download | nixfiles-1ba96a0584267853ff15e255bfae7afb39bceb7c.tar.lz nixfiles-1ba96a0584267853ff15e255bfae7afb39bceb7c.tar.zst nixfiles-1ba96a0584267853ff15e255bfae7afb39bceb7c.zip |
zsh: check for gem directory and add bin folder to path if found
Diffstat (limited to 'zsh')
-rwxr-xr-x | zsh/zshrc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zsh/zshrc b/zsh/zshrc index c017029f..3bf6e3b9 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -10,6 +10,13 @@ then $defpath ~/bin ) + if [[ -d ~/.gem/ruby ]] + then + path=( + $path + ~/.gem/ruby/*/bin + ) + fi fi if [[ ! -d ~/.zsh/cache ]] |