Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
90 lines (67 sloc) 2.56 KB
# Path to your oh-my-zsh configuration.
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# Set to this to use case-sensitive completion
# Comment this out to disable weekly auto-update checks
# Uncomment following line if you want to disable colors in ls
# Uncomment following line if you want to disable autosetting terminal title.
# Uncomment following line if you want red dots to be displayed while waiting for completion
# 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 nvm npm)
source $ZSH/
# Customize to your needs...
export PATH=/home/patrick/.gem/ruby/2.3.0/bin:/home/patrick/.local/bin:/home/patrick/.cabal/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin
# powerline theme
if [[ -r ~/.local/lib/python/site-packages/powerline/bindings/zsh/powerline.zsh ]]; then
source ~/.local/lib/python/site-packages/powerline/bindings/zsh/powerline.zsh
source /usr/share/nvm/
alias xmake='make -j$(nproc)'
alias cln='urxvt -cd `pwd` &'
alias grep='grep --color=always'
alias ll='ls -g -o --human-readable --color=auto'
alias la='ls -a --color=auto'
alias py='python'
alias ipy='ipython --no-confirm-exit --no-banner'
alias ipynote='ipython notebook'
alias vt='vim -p'
alias runs='ps -ef | grep'
alias config='git --git-dir=$HOME/.dotfiles/.git --work-tree=$HOME/.dotfiles'
function clr ()
ln -sf ~/.config/colors/$1 ~/.config/colors/current
xrdb ~/.Xresources
function init ()
ssh-agent > /home/patrick/.ssh/agent.env
chmod 0600 /home/patrick/.ssh/agent.env
. /home/patrick/.ssh/agent.env
export DEBFULLNAME="Patrick Niklaus"
export DEBEMAIL=""
#export TERM="rxvt-unicode"
export EDITOR="vim"
export GPG_TTY=$(tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
. /home/patrick/.ssh/agent.env
# added by travis gem
[ -f /home/patrick/.travis/ ] && source /home/patrick/.travis/
nvm use 4
source "$(npm root -g)/mbxcli/"
source /home/patrick/.py3/bin/activate