Update settings for linux
This commit is contained in:
parent
61acf0b92a
commit
f48f232119
@ -1,8 +1,10 @@
|
|||||||
# vi: ft=bash
|
# vi: ft=bash
|
||||||
|
|
||||||
|
if command -v brew &> /dev/null; then
|
||||||
if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; 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
|
||||||
source <(kubectl completion bash)
|
source <(kubectl completion bash)
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if command -v rbenv &> /dev/null; then
|
||||||
eval "$(rbenv init -)"
|
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
|
||||||
|
|||||||
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