merge zshrc
This commit is contained in:
parent
33fd96bf54
commit
6fe00536d8
60
zshrc
60
zshrc
@ -1,7 +1,7 @@
|
||||
# Path to your oh-my-zsh installation.
|
||||
export ZSH=$HOME/.oh-my-zsh
|
||||
ZSH_THEME="fino-time"
|
||||
plugins=(git)
|
||||
plugins=(git brew sudo github django python pip)
|
||||
ZSH_THEME="wezm"
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
||||
@ -13,19 +13,65 @@ export NODE_PATH="$NPM_PACKAGES/lib/node_modules:$NODE_PATH"
|
||||
export GOPATH=$HOME/go
|
||||
export PHP_AUTOCONF="/usr/local/bin/autoconf"
|
||||
export WORKON_HOME=$HOME/.virtualenvs
|
||||
export PROJECT_HOME=$HOME/Devel
|
||||
export PROJECT_HOME=$HOME/AddGeneProjects
|
||||
source /usr/local/bin/virtualenvwrapper_lazy.sh
|
||||
source $HOME/bin/virtualenv-auto-activate.sh
|
||||
|
||||
|
||||
|
||||
export LESSOPEN="| /usr/local/bin/src-hilite-lesspipe.sh %s"
|
||||
export LESS=' -R '
|
||||
|
||||
|
||||
export PATH="$HOME/bin:$HOME/.rvm.bin:$NPM_PACKAGES/bin:$GOPATH/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH"
|
||||
export PATH=/bin:/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/Users/tsouza/bin:/opt/local/bin:$PATH
|
||||
export PATH="$HOME/bin:$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
|
||||
|
||||
# Sourcing aliases and functions
|
||||
source ~/.bash_aliases
|
||||
alias cg='cd "$(git rev-parse --show-toplevel)"'
|
||||
alias fuck='eval $(thefuck $(fc -ln -1)); history -r'
|
||||
alias ag='\ag --pager="less"'
|
||||
|
||||
|
||||
function adg {
|
||||
workon addgene
|
||||
ssh-add /Users/tyrelsouza/.ssh/id_addgene
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
COMPLETION_WAITING_DOTS="true"
|
||||
|
||||
|
||||
export ADDGENE_CORE_REPO_DIR=/Users/tyrelsouza/AddGeneProjects/addgene-core
|
||||
|
||||
# VMware Fusion
|
||||
if [ -d "/Applications/VMware Fusion.app/Contents/Library" ]; then
|
||||
export PATH=$PATH:"/Applications/VMware Fusion.app/Contents/Library"
|
||||
fi
|
||||
export GREP_OPTIONS="--color=auto --exclude=*.pyc --exclude-dir=.git"
|
||||
export MP_FULLNAME="Tyrel Souza"
|
||||
|
||||
function adg() {
|
||||
workon addgene-core
|
||||
}
|
||||
|
||||
function cpbr {
|
||||
if branch=$(git symbolic-ref --short -q HEAD)
|
||||
then
|
||||
printf "$branch" | pbcopy
|
||||
osascript -e "display notification \"$branch copied to clipboard\" with title \"cpbr\""
|
||||
else
|
||||
echo "no branch, can't copy"
|
||||
fi
|
||||
}
|
||||
function hidden() { ls -a "$@" | grep '^\.'; }
|
||||
function uploadphotos(){ scp -rp "$1" vps:photos/$2; }
|
||||
function upload_ss(){
|
||||
MD5=$(md5 -q $1)
|
||||
E= $1|awk -F . '{print $NF}'
|
||||
F= $MD5$EXT
|
||||
echo $MD5 $E $F
|
||||
#uploadphotos $1 $fname
|
||||
}
|
||||
|
||||
|
||||
# Local changes
|
||||
source $HOME/.zshrc.local
|
||||
alias hideprev='history -d $((HISTCMD-2)) && history -d $((HISTCMD-1))' # Hide the previous command you just ran and forgot to use space.
|
||||
#let g:user_emmet_leader_key='<C-Z>'
|
||||
|
Loading…
Reference in New Issue
Block a user