diff options
author | Guangxiong Lin <[email protected]> | 2023-11-15 22:55:09 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-11-15 22:55:09 +0800 |
commit | 7de27509734330495fc54235283047c2e74ee8b3 (patch) | |
tree | 1f3a16af4e465c872172eea489e5491392d6dc8e /.path | |
parent | dc7e5a5f94cc89c57c4ff7f20f90a55a1a0e6ec4 (diff) | |
download | dotfiles-7de27509734330495fc54235283047c2e74ee8b3.tar.gz dotfiles-7de27509734330495fc54235283047c2e74ee8b3.tar.bz2 dotfiles-7de27509734330495fc54235283047c2e74ee8b3.zip |
Refactor
Diffstat (limited to '.path')
-rwxr-xr-x | .path | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,7 +9,10 @@ then export PATH=$PATH:$(go env GOPATH)/bin fi -if gem env user_gemhome &> /dev/null; then +# gem env is quite slow in macos. +# Don't set the environment variables as mitigation. +if [ ! $(uname) = Darwin ] && + gem env user_gemhome &> /dev/null; then export GEM_HOME="$(gem env user_gemhome)" export PATH="$PATH:$GEM_HOME/bin" fi |