diff --git a/hellotech/.config/bash/bashrc.d/hellotech.sh b/hellotech/.config/bash/bashrc.d/hellotech.sh index b5124ca..7d6fd0d 100644 --- a/hellotech/.config/bash/bashrc.d/hellotech.sh +++ b/hellotech/.config/bash/bashrc.d/hellotech.sh @@ -1,17 +1,19 @@ #!/usr/bin/env bash +#shellcheck disable=1090 +source <(kubectl completion bash) + 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" +#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" diff --git a/hellotech/.config/profile/env.d/hellotech.env b/hellotech/.config/profile/env.d/hellotech.env index c914eb7..e86d68f 100644 --- a/hellotech/.config/profile/env.d/hellotech.env +++ b/hellotech/.config/profile/env.d/hellotech.env @@ -1,3 +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" diff --git a/hellotech/.config/profile/profile.d/hellotech.sh b/hellotech/.config/profile/profile.d/hellotech.sh deleted file mode 100644 index 3c85aa9..0000000 --- a/hellotech/.config/profile/profile.d/hellotech.sh +++ /dev/null @@ -1,10 +0,0 @@ -#shellcheck disable=1090,2039,SC2148 - -if [ "${BASH_VERSION}" != "" ] && [ "$(ps -p $$ -ocomm=)" != sh ]; then - source <(kubectl completion bash) -fi - -if [ "${ZSH_VERSION}" != "" ]; then - autoload -U +X compinit && compinit - source <(kubectl completion zsh) -fi diff --git a/hellotech/.config/zsh/zshrc.d/hellotech.zsh b/hellotech/.config/zsh/zshrc.d/hellotech.zsh new file mode 100644 index 0000000..eb5aff7 --- /dev/null +++ b/hellotech/.config/zsh/zshrc.d/hellotech.zsh @@ -0,0 +1,5 @@ +# shellcheck disable=SC2148 + +autoload -U +X compinit && compinit +# shellcheck disable=SC1090,SC2039 +source <(kubectl completion zsh)