summaryrefslogtreecommitdiffstats
path: root/dot_config/zsh/dot_zshrc
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-10-31 15:57:09 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-10-31 15:57:09 -0500
commit832b9d6dc15ac9474e552bd292ca25d9260e90a4 (patch)
tree3317bbfe3e30c2905a3df904f9359c7085b9b5af /dot_config/zsh/dot_zshrc
parentadd hyperlinks (diff)
downloaddotfiles-832b9d6dc15ac9474e552bd292ca25d9260e90a4.tar
dotfiles-832b9d6dc15ac9474e552bd292ca25d9260e90a4.tar.gz
dotfiles-832b9d6dc15ac9474e552bd292ca25d9260e90a4.tar.bz2
dotfiles-832b9d6dc15ac9474e552bd292ca25d9260e90a4.tar.lz
dotfiles-832b9d6dc15ac9474e552bd292ca25d9260e90a4.tar.xz
dotfiles-832b9d6dc15ac9474e552bd292ca25d9260e90a4.tar.zst
dotfiles-832b9d6dc15ac9474e552bd292ca25d9260e90a4.zip
add ruby
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'dot_config/zsh/dot_zshrc')
-rw-r--r--dot_config/zsh/dot_zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/dot_config/zsh/dot_zshrc b/dot_config/zsh/dot_zshrc
index 829b5a7..aed91ed 100644
--- a/dot_config/zsh/dot_zshrc
+++ b/dot_config/zsh/dot_zshrc
@@ -25,6 +25,10 @@ case "$ID" in
;;
esac
+if [ -x "$(command -v gem)" ]; then
+ export GEM_HOME="$(gem env user_gemhome)"
+ export PATH="$PATH:$GEM_HOME/bin"
+fi
# Enable colors and change prompt:
autoload -U colors && colors # Load colors