From 854dc8ccc7e05d31b93f9427bbe425c0fd3b5ccf Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Wed, 18 Dec 2019 12:35:13 +0300 Subject: [PATCH] bash: macos: ++rbenv --- etc/shell/bash/bash_profile | 1 + etc/shell/bash/bashrc_macos | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 etc/shell/bash/bash_profile diff --git a/etc/shell/bash/bash_profile b/etc/shell/bash/bash_profile old mode 100644 new mode 100755 index a75c85c..58d307d --- a/etc/shell/bash/bash_profile +++ b/etc/shell/bash/bash_profile @@ -11,5 +11,6 @@ fi # export BASH_ENV # export PATH="~/.cw/df:$PATH" +command -v rbenv >&- && eval "$(rbenv init -)" export PATH="$HOME/.cargo/bin:$PATH" diff --git a/etc/shell/bash/bashrc_macos b/etc/shell/bash/bashrc_macos index da26e1f..18aaa0a 100644 --- a/etc/shell/bash/bashrc_macos +++ b/etc/shell/bash/bashrc_macos @@ -1,4 +1,4 @@ -PATH="$SHELLRC/bin:$SHELLRC/bin/scripts:/usr/local/opt/ruby/bin:/usr/local/opt/coreutils/libexec/gnubin/:/Applications/:~/go/bin/:~/Library/Python/3.7/bin/:$HOME/.cabal/bin:${GHCUP_INSTALL_BASE_PREFIX:=$HOME}/.ghcup/bin:$PATH:~/.cargo/bin" +PATH="$SHELLRC/bin:$SHELLRC/bin/scripts:$HOME/.rbenv/shims:/usr/local/opt/coreutils/libexec/gnubin/:/Applications/:~/go/bin/:~/Library/Python/3.7/bin/:$HOME/.cabal/bin:${GHCUP_INSTALL_BASE_PREFIX:=$HOME}/.ghcup/bin:$PATH:~/.cargo/bin" test -e "${HOME}/.iterm2_shell_integration.bash" && source "${HOME}/.iterm2_shell_integration.bash"