-
Notifications
You must be signed in to change notification settings - Fork 0
/
jompa.zsh
48 lines (39 loc) · 1.08 KB
/
jompa.zsh
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
set -o emacs
alias c='clear'
alias o='open'
alias e='vim'
alias h='history'
alias hg='history | grep'
# Git aliases
alias gs='git status'
alias gd='git diff'
alias ga='git add'
alias gap='git add -p'
alias gc='git commit'
alias gpull='git pull'
alias gpush='git push'
alias lns="ln -s"
# Virtualenv python 2.7.3
alias mkve='mkvirtualenv --no-site-packages --python=/usr/local/Cellar/python/2.7.3/bin/python'
alias ....='cd ../../..'
alias .....='cd ../../../..'
alias ......='cd ../../../../..'
alias .......='cd ../../../../../..'
#we reset the prompt since the zsh formatting codes messes up the debug page otherwise
alias rs='PS1="" ./manage.py runserver'
alias sp='./manage.py shell_plus --plain'
alias p='ipython'
alias tx='tar -xvzf'
alias tc='tar -cvzf'
#misc
#alias v='vagrant'
alias vagrant='nocorrect vagrant'
alias tree='nocorrect tree'
alias gx='gitx --all'
alias gk='gitk --all &'
#http://tooky.github.com/2010/04/08/there-was-a-problem-with-the-editor-vi-git-on-mac-os-x.html
export EDITOR=/usr/bin/vim
alias ll='ls -lh'
alias la='ls -lAh'
alias l='ls -lh'
alias tig='tig status'