diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-11-04 03:11:46 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-11-04 03:11:46 +0300 |
commit | 8211587734b14da84d191388723bad3f393f4b9a (patch) | |
tree | 60bd2852a12a72b6944257ebbba915dbbda8c16b /%HOME% | |
parent | add_missing_path: preserve order (diff) | |
download | linux-home-8211587734b14da84d191388723bad3f393f4b9a.tar.gz linux-home-8211587734b14da84d191388723bad3f393f4b9a.zip |
update_ruby_settings: code style
Diffstat (limited to '%HOME%')
-rw-r--r-- | %HOME%/.bashrc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index 5c2e619..dbaae9b 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -44,10 +44,10 @@ update_ruby_settings() { command -v ruby &> /dev/null \ && command -v gem &> /dev/null \ - && user_dir="$( ruby -e 'print Gem.user_dir' )" \ + && user_dir="$( ruby -e 'print Gem.user_dir' )" \ + && export GEM_HOME="$user_dir" \ && bin_dir="$( ruby -e 'puts Gem.bindir' )" \ - && add_path "$bin_dir" \ - && export GEM_HOME="$user_dir" + && add_path "$bin_dir" } update_ruby_settings |