Last active
May 22, 2020 22:48
-
-
Save jpweber/91fbef860a4db2ac178ca7f90b6c9108 to your computer and use it in GitHub Desktop.
config.fish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Load fishmarks (http://github.com/techwizrd/fishmarks) | |
. $HOME/.fishmarks/marks.fish | |
fish_vi_key_bindings | |
alias rmi "rm -i" | |
alias ark "docker run --rm -u (id -u) -v ~/.kube/config:/kubeconfig -e KUBECONFIG=/kubeconfig gcr.io/heptio-images/ark:latest" | |
alias oc "code ." | |
# kubernets aliases | |
alias kget "kubectl get" | |
alias klogs "kubectl logs" | |
set -x GOPATH1 $HOME/Development/go | |
set -x GOPATH2 $HOME/Development/heptio/go | |
set -gx GOPATH $GOPATH1:$GOPATH2 | |
set -gx PATH $PATH $GOPATH1/bin | |
set -gx PATH $PATH $GOPATH2/bin | |
set -x SHELL /bin/bash | |
set -x KUBECONFIG (find ~/.kube -type f -name '*kubeconfig*' | tr '\n' ':' | sed 's/:$//') | |
source ~/.iterm2_shell_integration.fish |
Yes! Thanks for the KUBECONFIG
line. I yanked it for myself.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice!