Skip to content
Snippets Groups Projects
Commit 144289ab authored by Keegan Mullaney's avatar Keegan Mullaney
Browse files

remove rbenv from .bash_profile

if .bash_profile exists, then .profile --> .bashrc doesn't run
parent 263b914b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -86,17 +86,12 @@ qc_install_rbenv() {
# optional, to speed up rbenv
[ -d "$HOME/.rbenv" ] && cd "$HOME/.rbenv" && src/configure && make -C src && cd - >/dev/null
 
# add rbenv init - command to .bashrc and .bash_profile (for SublimeLinter)
# add rbenv init - command to .bashrc (for SublimeLinter, was also in .bash_profile but it overrides .profile)
# shellcheck disable=SC2016
lkm_set_source_cmd "$HOME/.bashrc" \
'rbenv/shims:' \
'[[ ":$PATH:" =~ ":$HOME/.rbenv/shims:" ]] || eval "$(rbenv init -)"'
 
# shellcheck disable=SC2016
lkm_set_source_cmd "$HOME/.bash_profile" \
'rbenv/shims:' \
'[[ ":$PATH:" =~ ":$HOME/.rbenv/shims:" ]] || eval "$(rbenv init -)"'
# ruby-build
# shellcheck disable=SC2016
lkm_set_sourced_config "https://github.com/rbenv/ruby-build.git" \
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment