-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ted Scharff
committed
Dec 3, 2020
1 parent
e59a13c
commit 5c28fce
Showing
1 changed file
with
21 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
umask 002 | ||
|
||
# any key unfreezes after a ctrl-s | ||
stty ixany | ||
|
||
# Path to your oh-my-zsh configuration. | ||
ZSH=$HOME/.oh-my-zsh | ||
|
||
|
@@ -34,7 +37,7 @@ DISABLE_AUTO_UPDATE="true" | |
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | ||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | ||
# Example format: plugins=(rails git textmate ruby lighthouse) | ||
plugins=(git vi-mode brew github python django) | ||
plugins=(git vi-mode brew github python django kubectl helm) | ||
|
||
[[ -e $ZSH/oh-my-zsh.sh ]] && source $ZSH/oh-my-zsh.sh | ||
|
||
|
@@ -101,7 +104,7 @@ alias wgit="wget --no-check-certificate" | |
alias push="git push origin master" | ||
alias pull="git pull --rebase origin master && git submodule update --init --recursive" | ||
alias sshwwt="ssh -XC [email protected] -t ssh -XC [email protected]" | ||
alias venv="source $(find . -name activate)" | ||
alias gittidy="git branch --merged | grep -v master | xargs git branch -d" | ||
|
||
# Autocorrect Exceptions | ||
alias ack="nocorrect ack" | ||
|
@@ -111,6 +114,9 @@ unsetopt correct_all # just disable all of them. this feature is kind of annoyi | |
# stimpy | ||
alias cowsay="cowsay -f stimpy" | ||
|
||
#kubectl | ||
alias k="kubectl" | ||
|
||
# All things pathy | ||
path+=$ANDROID | ||
path+=$ANDROID/tools | ||
|
@@ -123,7 +129,6 @@ path+=/usr/local/lib/wxPython/bin | |
path+=/usr/local/share/npm/bin | ||
path+=/usr/sbin | ||
PATH=$HOME/local/bin:/usr/local/bin:/opt/local/bin:$PATH | ||
path+=$HOME/projects/cosmogia/dev_tools/bin | ||
|
||
path=($^path(-/N)) # filter out any paths that don't exists, or aren't directories/symlinks | ||
export PATH | ||
|
@@ -133,8 +138,8 @@ export EC2_HOME=$HOME/src/ec2-api-tools-1.3-30349 | |
export EC2_AMITOOL_HOME=$HOME/src/ec2-ami-tools-1.3-26357 | ||
|
||
# Java | ||
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home | ||
export CLASSPATH=$HOME/android/lib:. | ||
#export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home | ||
#export CLASSPATH=$HOME/android/lib:. | ||
|
||
if [[ -d $ANDROID/tools ]]; then | ||
for jar in $ANDROID/tools/lib/*jar | ||
|
@@ -166,3 +171,14 @@ if [ -f $HOME/.local_profile ]; then | |
source $HOME/.local_profile | ||
fi | ||
|
||
# Golang | ||
export GOPATH=$HOME/go | ||
export PATH=$GOPATH/bin:$PATH | ||
|
||
source $HOME/.txsecrets | ||
export AWS_PROFILE=strateos | ||
source <(kubectl completion zsh) | ||
|
||
# aws cli completion | ||
autoload bashcompinit && bashcompinit | ||
complete -C '/usr/local/bin/aws_completer' aws |