Skip to content

Commit

Permalink
Remove gopath and add kx
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesplain committed Aug 2, 2023
1 parent 0a64e80 commit 5f6a052
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion home/dot_zprofile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ export EVENT_NOKQUEUE=1
# _godir() { _files -W ~/go -/; }
# compdef _godir godir

export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin

if [ -f "$HOME/.env/kops.sh" ]; then
Expand Down
6 changes: 2 additions & 4 deletions home/executable_dot_shrc
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ add_to_path_start "/usr/local/bin"
add_to_path_start "/usr/local/sbin"
add_to_path_start "/usr/local/opt/python/libexec/bin"

# Setup Go development
export GOPATH="$HOME/.gopath"
add_to_path_end "$GOPATH/bin"

# asdf
. $HOME/.asdf/asdf.sh

Expand Down Expand Up @@ -88,6 +84,8 @@ alias sha256="shasum -a 256"
alias ack="ag"
# alias git="hub"
alias k='kubectl'
alias x='kubectx'
alias kx='kubectx'
alias kk='kubectl "--context=${KUBECTL_CONTEXT:-$(kubectl config current-context)}" ${KUBECTL_NAMESPACE/[[:alnum:]-]*/--namespace=${KUBECTL_NAMESPACE}}'
alias kns='kubens'
alias wk='watch -n.5 kubectl "--context=${KUBECTL_CONTEXT:-$(kubectl config current-context)}" ${KUBECTL_NAMESPACE/[[:alnum:]-]*/--namespace=${KUBECTL_NAMESPACE}}'
Expand Down

0 comments on commit 5f6a052

Please sign in to comment.