Skip to content

Commit

Permalink
[zsh] Don't switch "global" Ruby during boot
Browse files Browse the repository at this point in the history
chruby is pretty quick, but this command still takes ~0.2s for every
terminal boot. Since I use a specific Ruby version on each project, the
only thing this saves is when I'm hacking in a new directory. I think
that's a small price to pay.
  • Loading branch information
michaelherold committed Sep 1, 2021
1 parent f86b8fd commit 328dc12
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/zsh/configs/ruby.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@
source /usr/local/share/chruby/chruby.sh
source /usr/local/share/chruby/auto.sh
}

which chruby >/dev/null && chruby ruby-2.6.3

0 comments on commit 328dc12

Please sign in to comment.