michaelp0730
10/6/2014 - 8:09 PM

.zshrc used at work

.zshrc used at work

source /apollo/env/envImprovement/var/zshrc

#
# .zshrc is sourced in interactive shells.
# It should contain commands to set up aliases,
# functions, options, key bindings, etc.
#


#Brazil Runtime Exec Alias
alias br='/bin/env -i /apollo/env/SDETools/bin/brazil-runtime-exec'

alias bba='brazil-build apollo-pkg'

alias bbd='brazil-build desktop'

alias bbs='brazil-build server'

alias bb='brazil-build'

alias ahc='/apollo/bin/apolloHostControl'

alias rc='sudo /apollo/bin/runCommand -a Activate -e'

alias rcs='sudo /apollo/bin/runCommand -a Activate -e SimplePackToolWebsite'

alias st='git status'

alias gs='git status'

alias ci='git commit -m'

alias gb='git branch'

alias gch='git checkout'

alias gpr='git pull --rebase'

alias gg='git graph --all'

alias rso='git remote show origin'

alias gbv='git branch -vv'

alias ll='ls -ls'

alias lsa='ls -a'

autoload -U compinit
compinit

#allow tab completion in the middle of a word
setopt COMPLETE_IN_WORD

## keep background processes at full speed
#setopt NOBGNICE
## restart running processes on exit
#setopt HUP

## history
#setopt APPEND_HISTORY
## for sharing history between zsh processes
#setopt INC_APPEND_HISTORY
#setopt SHARE_HISTORY

## never ever beep ever
#setopt NO_BEEP

## automatically decide when to page a list of completions
#LISTMAX=0

## disable mail checking
#MAILCHECK=0

# autoload -U colors
#colors

export PATH=/usr/local/bin:/usr/local/sbin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin

# jahood-provided stuff
export PACKAGE_CLIENT_ROOT=/workplace
export BRAZIL_WORKSPACE_GITMODE=true # enable gitMode for all workspace packages
alias c="cd_client"
compctl -K client_list cd_client
function client_list { reply=(`ls $PACKAGE_CLIENT_ROOT`);}

cd_client()
{
	if [ -d $PACKAGE_CLIENT_ROOT/$1/src ] ; then
		cd $PACKAGE_CLIENT_ROOT/$1/src
	else
		cd $PACKAGE_CLIENT_ROOT/$1
	fi
}

source /apollo/env/envImprovement/var/zshrc

export SELENIUM_HOST=ghenson-1.desktop.amazon.com