Skip to content

Commit

Permalink
.zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ted Scharff committed Dec 3, 2020
1 parent e59a13c commit 5c28fce
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .zshrc
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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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"
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 5c28fce

Please sign in to comment.