Commits

Jason Ryan committed a9ac861

Simplified chruby call

  • Participants
  • Parent commits c84fcfb

Comments (0)

Files changed (1)

 
 # ruby settings
 if [[ -e /usr/share/chruby ]]; then
-    source /usr/share/chruby/chruby.sh
-    source /usr/share/chruby/auto.sh
-    chruby $(cat ~/.ruby-version)
+    source /usr/share/chruby/{chruby,auto}.sh
+    chruby $(<$HOME/.ruby-version)
 fi
 
 ### linux console colors (jwr dark) ###