[zshrc] Add ruby gems path for ocean.samhuri.net

This commit is contained in:
Sami Samhuri 2021-01-17 22:12:03 +00:00
parent e80b140aea
commit 8752cf0c45

2
zshrc
View file

@ -13,7 +13,7 @@ function is_interactive() { [ -t 1 ] }
# 1. Environment Vars # 1. Environment Vars
# =================== # ===================
custom_paths=(/sbin /usr/sbin /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin /usr/local/opt/postgresql@9.6/bin /usr/local/bin /usr/local/sbin $HOME/bin) custom_paths=(/sbin /usr/sbin /Library/Developer/Toolchains/swift-latest.xctoolchain/usr/bin /usr/local/opt/postgresql@9.6/bin $HOME/.gem/ruby/2.5.0/bin /usr/local/bin /usr/local/sbin $HOME/bin)
for dir in $custom_paths; do for dir in $custom_paths; do
if [[ -d "$dir" ]]; then if [[ -d "$dir" ]]; then
path=($dir $path) path=($dir $path)