diff options
author | ache <ache@ache.one> | 2019-02-05 19:06:10 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2019-02-05 19:06:10 +0100 |
commit | 5ca3e24395f98cfc9e3a7d77b6a63a67838a035b (patch) | |
tree | 0f88769aed490b4a6664c986d3a752e09b0487bb | |
parent | New function mountwu (diff) |
Fix no ruby
-rw-r--r-- | config.fish | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config.fish b/config.fish index 365dbfa..c2d8fb0 100644 --- a/config.fish +++ b/config.fish @@ -10,7 +10,9 @@ else set -x SYSTEMD_EDITOR vim end -set RUBY_PATH (ruby -e 'print Gem.user_dir')/bin +if which ruby ^ /dev/null > /dev/null + set RUBY_PATH (ruby -e 'print Gem.user_dir')/bin +end set -x NPM_PACKAGES "$HOME/.npm-packages" set -x GOPATH "$HOME/.go" |