Update settings for linux
This commit is contained in:
parent
61acf0b92a
commit
f48f232119
@ -1,7 +1,9 @@
|
||||
# vi: ft=bash
|
||||
|
||||
if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then
|
||||
. "$(brew --prefix)/share/bash-completion/bash_completion"
|
||||
if command -v brew &> /dev/null; then
|
||||
if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then
|
||||
. "$(brew --prefix)/share/bash-completion/bash_completion"
|
||||
fi
|
||||
fi
|
||||
|
||||
if command -v kubectl > /dev/null 2>&1; then
|
||||
|
||||
@ -1,6 +1,8 @@
|
||||
#!/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 core="cd ~/code/core"
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
# 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
|
||||
GOPRIVATE=github.com/HelloTech
|
||||
GO_TEST=gotest
|
||||
PATH="${PATH}:${HOME}/.rbenv/shims:/usr/local/opt/mysql-client/bin:${HOME}/google-cloud-sdk/bin"
|
||||
PULUMI_SKIP_UPDATE_CHECK=true
|
||||
|
||||
14
hellotech/.config/profile/profile.d/hellotech.sh
Normal file
14
hellotech/.config/profile/profile.d/hellotech.sh
Normal file
@ -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…
Reference in New Issue
Block a user