75 lines
2.2 KiB
Bash
75 lines
2.2 KiB
Bash
|
# Path to your oh-my-zsh configuration.
|
||
|
ZSH=$HOME/.oh-my-zsh
|
||
|
|
||
|
# 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.
|
||
|
ZSH_THEME="geoffgarside"
|
||
|
|
||
|
# Example aliases
|
||
|
# alias zshconfig="mate ~/.zshrc"
|
||
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||
|
|
||
|
# Set to this to use case-sensitive completion
|
||
|
# CASE_SENSITIVE="true"
|
||
|
|
||
|
# Comment this out to disable bi-weekly auto-update checks
|
||
|
# DISABLE_AUTO_UPDATE="true"
|
||
|
|
||
|
# Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
|
||
|
# export UPDATE_ZSH_DAYS=13
|
||
|
|
||
|
# Uncomment following line if you want to disable colors in ls
|
||
|
# DISABLE_LS_COLORS="true"
|
||
|
|
||
|
# Uncomment following line if you want to disable autosetting terminal title.
|
||
|
# DISABLE_AUTO_TITLE="true"
|
||
|
|
||
|
# Uncomment following line if you want to disable command autocorrection
|
||
|
DISABLE_CORRECTION="true"
|
||
|
|
||
|
# Uncomment following line if you want red dots to be displayed while waiting for completion
|
||
|
# COMPLETION_WAITING_DOTS="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 archlinux fasd golang mercurial node npm screen ssh-agent sublime systemd vundle)
|
||
|
|
||
|
source $ZSH/oh-my-zsh.sh
|
||
|
|
||
|
# Customize to your needs...
|
||
|
export PATH=$PATH:$HOME/bin:$HOME/go/bin:/usr/local/games:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/qt4/bin:$HOME/bin:$HOME/src/go/bin
|
||
|
|
||
|
alias aoeu='setxkbmap us'
|
||
|
alias asdf='setxkbmap dvorak'
|
||
|
|
||
|
alias grep='grep --color --exclude-dir=.svn --exclude-dir=node_modules'
|
||
|
alias egrep='egrep --color --exclude-dir=.svn --exclude-dir=node_modules'
|
||
|
alias vi='vim'
|
||
|
alias ll='ls -al'
|
||
|
alias l='ls -Cf'
|
||
|
|
||
|
alias h='fasd_cd -d'
|
||
|
|
||
|
calc(){ awk "BEGIN{ print $* }" ;}
|
||
|
GREP_OPTIONS='-D skip --binary-files=without-match --ignore-case'
|
||
|
export LESS='RFiX'
|
||
|
export PAGER="less -R -FiX"
|
||
|
alias subo='sublime -n'
|
||
|
export EDITOR=vim
|
||
|
|
||
|
alias asshole='sudo $(fc -l -n -1)'
|
||
|
|
||
|
export GOPATH=~/
|
||
|
setopt interactivecomments
|
||
|
unsetopt beep
|
||
|
bindkey '^[#' pound-insert
|
||
|
|
||
|
if [ -f $HOME/.zshlc ]
|
||
|
then
|
||
|
source $HOME/.zshlc
|
||
|
fi
|
||
|
|