Update settings for linux

main
Buddy Sandidge 3 years ago
parent 61acf0b92a
commit f48f232119

@ -1,7 +1,9 @@
# vi: ft=bash # vi: ft=bash
if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then if command -v brew &> /dev/null; then
if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then
. "$(brew --prefix)/share/bash-completion/bash_completion" . "$(brew --prefix)/share/bash-completion/bash_completion"
fi
fi fi
if command -v kubectl > /dev/null 2>&1; then if command -v kubectl > /dev/null 2>&1; then

@ -1,6 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
eval "$(rbenv init -)" if command -v rbenv &> /dev/null; then
eval "$(rbenv init -)"
fi
alias orb="cd ~/code/circleci-ci-orb" alias orb="cd ~/code/circleci-ci-orb"
alias core="cd ~/code/core" alias core="cd ~/code/core"

@ -1,2 +1,2 @@
# shellcheck disable=SC2034 # shellcheck disable=SC2034
PATH="${PATH}:${HOME}/.rbenv/shims:/usr/local/opt/mysql-client/bin:${HOME}/google-cloud-sdk/bin"

@ -1,5 +1,4 @@
# shellcheck disable=SC2034 # shellcheck disable=SC2034
GOPRIVATE=github.com/HelloTech GOPRIVATE=github.com/HelloTech
GO_TEST=gotest GO_TEST=gotest
PATH="${PATH}:${HOME}/.rbenv/shims:/usr/local/opt/mysql-client/bin:${HOME}/google-cloud-sdk/bin"
PULUMI_SKIP_UPDATE_CHECK=true PULUMI_SKIP_UPDATE_CHECK=true

@ -0,0 +1,14 @@
#!/usr/bin/env bash
_add_path () {
if [ ! -d "$1" ]; then
return
fi
PATH="${PATH}:$1"
}
_add_path "${HOME}/.rbenv/shims"
_add_path "/usr/local/opt/mysql-client/bin"
_add_path "${HOME}/google-cloud-sdk/bin"
unset _add_path
Loading…
Cancel
Save