Last active
August 29, 2015 14:11
-
-
Save fzerorubigd/9871f46d2fd057eca177 to your computer and use it in GitHub Desktop.
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
if [ ! -e ~/.antigen/source/antigen.zsh ];then | |
mkdir ~/.antigen | |
git clone https://github.com/zsh-users/antigen.git ~/.antigen/source | |
fi; | |
source ~/.antigen/source/antigen.zsh | |
# OK I need this :/ | |
antigen use oh-my-zsh | |
# Theme | |
#antigen theme maran | |
antigen bundle nojhan/liquidprompt | |
# Plugins | |
antigen bundle git | |
antigen bundle archlinux | |
antigen bundle history-substring-search | |
antigen bundle zsh-users/zsh-syntax-highlighting | |
antigen bundle vagrant | |
antigen bundle docker | |
#antigen bundle lol | |
antigen bundle extract | |
antigen bundle autojump | |
antigen bundle sharat87/autoenv | |
antigen bundle fzerorubigd/zshfunc | |
antigen bundle zsh-users/zsh-completions src | |
antigen bundle jocelynmallon/zshmarks | |
antigen apply | |
bindkey -e | |
export EDITOR='emacsclient -t' | |
alias -s conf=emacsclient -t | |
alias -g L='|less' | |
alias -g G='|grep' | |
alias -g ADDR='|grep "http://*"' | |
alias p='proxychains' | |
#alias e="emacs -nw -q --no-site-file -eval '(setq make-backup-files nil)'" | |
alias e="emacsclient -t" | |
alias _e="sudo emacs -nw -q --no-site-file -eval '(setq make-backup-files nil)'" | |
alias g="jump" | |
alias s="bookmark" | |
alias d="deletemark" | |
alias p="showmarks" | |
alias l="showmarks" | |
alias rmpyc='find . -name "*.pyc" -exec rm -rf {} \;' | |
alias v='vagrant' | |
alias cowize="export http_proxy=http://192.168.1.37:7070 && export https_proxy=http://192.168.1.37:7070" | |
alias uncowize="unset http_proxy && unset https_proxy" | |
alias mpcplaylist='mpc playlist -f " [%position%) %artist% - %title%]"' | |
# TMUX | |
if [ -z `tty | egrep tty` ] ; then | |
if which tmux 2>&1 >/dev/null; then | |
# if no session is started, start a new session | |
test -z ${TMUX} && tmux | |
# when quitting tmux, try to attach | |
while test -z ${TMUX}; do | |
tmux attach || break | |
done | |
fi; | |
fi; | |
COMPOSER_PROCESS_TIMEOUT=6000 | |
export GOPATH=~/gospace | |
export PATH="$GOPATH/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment