-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
78 lines (64 loc) · 2.67 KB
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# 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="txxx-dark"
# 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 weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# 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 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)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
#export PATH=/Users/jarednorman/.rvm/gems/ruby-1.9.3-p194/bin:/Users/jarednorman/.rvm/gems/ruby-1.9.3-p194@global/bin:/Users/jarednorman/.rvm/rubies/ruby-1.9.3-p194/bin:/Users/jarednorman/.rvm/bin:/opt/local/bin:/opt/local/sbin:/usr/local/git/bin:/Users/jarednorman/bin:/Users/jarednorman/.luarocks/bin:/Users/jarednorman/.gem/ruby/1.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/opt/local/sbin:/usr/local/git/bin:/Users/jarednorman/bin:/Users/jarednorman/.luarocks/bin:/Users/jarednorman/.gem/ruby/1.8/bin
export PATH=$HOME/bin:$HOME/.luarocks/bin:$(ruby -rubygems -e "puts Gem.user_dir")/bin:/usr/local/bin:$PATH
export EDITOR=vim
export RUBYOPT=rubygems
# doomed to repeat it
HISTFILE=~/.histfile
HISTSIZE=1000000
SAVEHIST=1000000
# aliases
alias v=vim
alias irc="ssh blacklingo@txa.doesntexist.com -t 'screen -dr'"
alias irc-home="ssh blacklingo@192.168.1.100 -t 'screen -dr'"
alias serve="thin -R ~/.static.ru start"
alias hist="cat ~/.histfile | grep"
alias zource='source ~/.zshrc'
alias bx='bundle exec'
alias grep='grep --color=auto'
alias l='ls'
alias ls='ls -G'
alias sl='ls -G'
alias ll='ls -lhG'
alias la='ls -aG'
alias lg='ls|egrep'
alias gi='git init && git add . && git commit -m "initial commit"'
alias i='sudo netcfg'
alias scr='screen -dr'
alias treeless='tree -C | less -R'
alias plz=sudo
alias please=sudo
alias ':q'=exit
alias ':wq'=exit
source ~/.zsh/local.zsh
# ls on changing directories
function chpwd() {
emulate -L zsh
ls -G
}
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*