From 209c74ca725ddbe6f34c19de595d078451be4b13 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Sun, 6 Dec 2020 20:18:19 -0800 Subject: [PATCH] Add hellotech bash configs --- .../bashrc.d/hellotech-bash-completion.sh | 8 ++++ hellotech/.config/bash/bashrc.d/hellotech.sh | 47 +++++++++++++++++++ .../.config/bash/env.d/hellotech-config.env | 5 ++ 3 files changed, 60 insertions(+) create mode 100644 hellotech/.config/bash/bashrc.d/hellotech-bash-completion.sh create mode 100644 hellotech/.config/bash/bashrc.d/hellotech.sh create mode 100644 hellotech/.config/bash/env.d/hellotech-config.env diff --git a/hellotech/.config/bash/bashrc.d/hellotech-bash-completion.sh b/hellotech/.config/bash/bashrc.d/hellotech-bash-completion.sh new file mode 100644 index 0000000..41a2e16 --- /dev/null +++ b/hellotech/.config/bash/bashrc.d/hellotech-bash-completion.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +# shellcheck disable=1090 + +if [ -f "$(brew --prefix)/share/bash-completion/bash_completion" ]; then + . "$(brew --prefix)/share/bash-completion/bash_completion" +fi + +source <(kubectl completion bash) diff --git a/hellotech/.config/bash/bashrc.d/hellotech.sh b/hellotech/.config/bash/bashrc.d/hellotech.sh new file mode 100644 index 0000000..b5124ca --- /dev/null +++ b/hellotech/.config/bash/bashrc.d/hellotech.sh @@ -0,0 +1,47 @@ +#!/usr/bin/env 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" + +#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 diff --git a/hellotech/.config/bash/env.d/hellotech-config.env b/hellotech/.config/bash/env.d/hellotech-config.env new file mode 100644 index 0000000..2d1c679 --- /dev/null +++ b/hellotech/.config/bash/env.d/hellotech-config.env @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +# shellcheck disable=SC2034 +BASH_SILENCE_DEPRECATION_WARNING=1 +GOPRIVATE=github.com/HelloTech +GO_TEST=gotest