From b1d2d0c04eda5950a3cc6e1c27a0ffbdd8343d91 Mon Sep 17 00:00:00 2001 From: James Patrick Date: Fri, 9 Aug 2024 11:13:25 -0400 Subject: [PATCH] Removed unused machines --- zsh/environment/host/devX/zshrc | 33 ------------------------------- zsh/environment/host/zuk/zprofile | 3 --- zsh/environment/host/zuk/zshenv | 9 --------- 3 files changed, 45 deletions(-) delete mode 100644 zsh/environment/host/devX/zshrc delete mode 100644 zsh/environment/host/zuk/zprofile delete mode 100644 zsh/environment/host/zuk/zshenv diff --git a/zsh/environment/host/devX/zshrc b/zsh/environment/host/devX/zshrc deleted file mode 100644 index 7877659..0000000 --- a/zsh/environment/host/devX/zshrc +++ /dev/null @@ -1,33 +0,0 @@ -##### Aliases -# Database Connection -db_envs=(cadev ildev indev ladev txdev utdev mddev) -for env in $db_envs ; do - eval "alias psql_$env='psql -d $env -h dev.cpmixkhfrend.us-east-1.rds.amazonaws.com -p 5432 -U ${env}_owner'" - if (( $+commands[pgcli] )); then - eval "alias pg_${env}='pgcli -d $env -h dev.cpmixkhfrend.us-east-1.rds.amazonaws.com -p 5432 -U ${env}_owner'" - fi -done - -alias pg_latest='pgcli -d latest -h dev.cpmixkhfrend.us-east-1.rds.amazonaws.com -p 5432 -U ladev_owner' -alias pg_csdev='pgcli -d csdev -h dev.cpmixkhfrend.us-east-1.rds.amazonaws.com -p 5432 -U cadev_owner' -alias pg_cademo='pgcli -h dev.cpmixkhfrend.us-east-1.rds.amazonaws.com -p 5432 -U "cademo_owner" -d "cademo"' -alias psql_latest='psql -d latest -h dev.cpmixkhfrend.us-east-1.rds.amazonaws.com -p 5432 -U ladev_owner' - -# List Databases -alias psql_l="psql -h dev.cpmixkhfrend.us-east-1.rds.amazonaws.com -p 5432 -U greenfiling -l" -# Sign-In as limited super user. -alias psql_root="psql -d postgres -h dev.cpmixkhfrend.us-east-1.rds.amazonaws.com -p 5432 -U greenfiling" - -##### Conveniences -############################################################################################################# - -export build_dir="/opt/build" -export apps_dir="/mount/data0/apps" - -for build_path in $build_dir/^shared ; do - # get the env name from the full path. - local env_name=$(basename $build_path ) - eval "export ${env_name}_build=${build_path}" - eval "export ${env_name}_app=${apps_dir}/${env_name}" - eval "export ${env_name}_logs=${apps_dir}/${env_name}/logs" -done diff --git a/zsh/environment/host/zuk/zprofile b/zsh/environment/host/zuk/zprofile deleted file mode 100644 index 19b0b54..0000000 --- a/zsh/environment/host/zuk/zprofile +++ /dev/null @@ -1,3 +0,0 @@ -source /usr/share/chruby/chruby.sh -source /usr/share/chruby/auto.sh -chruby ruby diff --git a/zsh/environment/host/zuk/zshenv b/zsh/environment/host/zuk/zshenv deleted file mode 100644 index f394a04..0000000 --- a/zsh/environment/host/zuk/zshenv +++ /dev/null @@ -1,9 +0,0 @@ -GOLANG_PATH="/usr/lib/go/bin" -export GOPATH="$HOME/src/go" - - -path=( - $GOPATH/bin - $GOLANG_PATH - $path) -# vim: syn=zsh