mirror of
https://github.com/chenasraf/dotfiles.git
synced 2026-05-17 17:28:07 +00:00
fix(exports): ruby export
This commit is contained in:
13
exports.zsh
13
exports.zsh
@@ -135,11 +135,13 @@ fi
|
||||
# export PATH="$CFG/yarn/global/node_modules/.bin:$PATH"
|
||||
# fi
|
||||
|
||||
# Ruby
|
||||
# Ruby (rbenv must init before GEM_HOME so we pick up the right ruby)
|
||||
if [[ -f $(which rbenv) ]]; then
|
||||
eval "$(command rbenv init - zsh)"
|
||||
fi
|
||||
if [[ -f $(which ruby) ]]; then
|
||||
export GEM_HOME="$HOME/.gem"
|
||||
export PATH="$GEM_HOME/bin:$PATH"
|
||||
export PATH="$GEM_HOME/ruby/3.1.10/bin:$PATH"
|
||||
fi
|
||||
|
||||
# Python 3.11
|
||||
@@ -208,13 +210,6 @@ fi
|
||||
if [[ ! "$PATH" == */opt/homebrew/opt/fzf/bin* ]]; then
|
||||
PATH="${PATH:+${PATH}:}/opt/homebrew/opt/fzf/bin"
|
||||
fi
|
||||
if [[ -f $(which rbenv) ]]; then
|
||||
rbenv() {
|
||||
unset -f rbenv
|
||||
eval "$(command rbenv init - zsh)"
|
||||
rbenv "$@"
|
||||
}
|
||||
fi
|
||||
|
||||
export SHELLCHECK_OPTS='--shell=bash'
|
||||
export DOCKER_CLI_HINTS=false
|
||||
|
||||
Reference in New Issue
Block a user