aliases.zsh 1.14 KB
Newer Older
1
2
alias pu='pushd'
alias po='popd'
3

4
alias sc='ruby script/console'
5
6
alias sd='ruby script/server --debugger'
alias ss='thin --stats "/thin/stats" start'
7
8
9
10

alias mr='mate CHANGELOG app config db lib public script spec test'
alias .='pwd'
alias ...='cd ../..'
11
alias -- -='cd -'
12
13

alias _='sudo'
14
alias ss='sudo su -'
15

Geoff Garside's avatar
Geoff Garside committed
16
#alias g='grep -in'
17

Geoff Garside's avatar
Geoff Garside committed
18
alias g='git'
19
20
21
22
alias gst='git status'
alias gl='git pull'
alias gp='git push'
alias gd='git diff | mate'
Gerhard Lazu's avatar
Gerhard Lazu committed
23
alias gdv='git diff -w "$@" | vim -R -'
24
25
26
27
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gb='git branch'
alias gba='git branch -a'
28
29
30

alias history='fc -l 1'

Geoff Garside's avatar
Geoff Garside committed
31
alias ls='ls -F'
32
33
34
35
alias ll='ls -alr'
alias l='ls'
alias ll='ls -l'
alias sl=ls # often screw this up
36
37
38
39
40
41
42

alias sgem='sudo gem'

alias rfind='find . -name *.rb | xargs grep -n'

alias git-svn-dcommit-push='git svn dcommit && git push github master:svntrunk'

Geoff Garside's avatar
Geoff Garside committed
43
44
45
46
alias et='mate . &'
alias ett='mate app config lib db public spec test Rakefile Capfile Todo &'
alias etp='mate app config lib db public spec test vendor/plugins vendor/gems Rakefile Capfile Todo &'
alias etts='mate app config lib db public script spec test vendor/plugins vendor/gems Rakefile Capfile Todo &'
Geoff Garside's avatar
Geoff Garside committed
47

48
49