Move rbenv init to ruby package
parent
33c4deaa78
commit
e48215767b
@ -1,50 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if command -v rbenv &> /dev/null; then
|
||||
eval "$(rbenv init -)"
|
||||
fi
|
||||
|
||||
alias orb="cd ~/code/circleci-ci-orb"
|
||||
alias core="cd ~/code/core"
|
||||
alias sync-service="cd ~/code/sync-service"
|
||||
alias entities="cd ~/code/entities"
|
||||
alias dispatch="cd ~/code/dispatch-service"
|
||||
alias infra="cd ~/code/hellotech-infra"
|
||||
|
||||
#alias launch="/Users/$USER/code/hellotech-clients/launch.sh"
|
||||
#htc=~/code/hellotech-clients
|
||||
#alias htcstart="cd $htc;yarn run dev"
|
||||
#unset htc
|
||||
#ht=~/code/hellotech
|
||||
#alias htstart="cd $ht;bundle exec rails s"
|
||||
#alias jobstart="cd $ht;ruby script/delayed_job start"
|
||||
#alias jobstop="cd $ht;ruby script/delayed_job stop"
|
||||
#alias kiqstart="cd $ht;bundle exec sidekiq"
|
||||
#unset ht
|
||||
|
||||
#htp=~/code/hellotech-partners
|
||||
#alias htpstart="cd $htp;npm start"
|
||||
#unset htp
|
||||
|
||||
#htapp=~/code/hellotech-tech-app
|
||||
#alias htappstart="cd $htapp;react-native run-android"
|
||||
#unset htapp
|
||||
|
||||
#auth=~/code/hellotech-auth
|
||||
#alias authstart="cd $auth;PORT=3002 bundle exec puma -C config/puma.rb"
|
||||
#unset auth
|
||||
|
||||
#na=~/code/tech-api
|
||||
#alias nastart="cd $na;npm start"
|
||||
#unset na
|
||||
|
||||
#fn=~/code/ht-fn
|
||||
#unset fn
|
||||
#kus=~/code/ht-kustomer
|
||||
#unset kus
|
||||
#htt=~/code/ht-tech-tracking
|
||||
#unset htt
|
||||
#crawl=~/code/hellotech-crawler
|
||||
#unset crawl
|
||||
#scripts=~/code/hellotech-scripts
|
||||
#unset scripts
|
@ -1,2 +0,0 @@
|
||||
# shellcheck disable=SC2034
|
||||
|
@ -1,4 +1,11 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
if [ "${RBENV_SHELL}" = "" ]; then
|
||||
if command -v rbenv >/dev/null 2>&1 ; then
|
||||
eval "$(rbenv init -)"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -d "${HOME}/.rvm/bin" ]]; then
|
||||
# shellcheck disable=SC2076
|
||||
if [[ ! "${PATH}" =~ "${HOME}/.rvm/bin" ]]; then
|
@ -1,4 +1,11 @@
|
||||
# shellcheck shell=sh
|
||||
|
||||
if [ "${RBENV_SHELL}" = "" ]; then
|
||||
if command -v rbenv >/dev/null 2>&1 ; then
|
||||
eval "$(rbenv init -)"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d "${HOME}/.rvm/bin" ]; then
|
||||
case "${PATH}" in
|
||||
*"$HOME/.rvm/bin"*) ;;
|
@ -1,3 +1,9 @@
|
||||
if [ "${RBENV_SHELL}" = "" ]; then
|
||||
if command -v rbenv >/dev/null 2>&1 ; then
|
||||
eval "$(rbenv init -)"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -d "${HOME}/.rvm/bin" ]]; then
|
||||
if [[ ! "${PATH}" =~ "${HOME}/.rvm/bin" ]]; then
|
||||
export PATH="$PATH:$HOME/.rvm/bin"
|
Loading…
Reference in New Issue