aliases.zsh 1.1 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
23
24
25
26
alias gst='git status'
alias gl='git pull'
alias gp='git push'
alias gd='git diff | mate'
alias gc='git commit -v'
alias gca='git commit -v -a'
alias gb='git branch'
alias gba='git branch -a'
27
28
29

alias history='fc -l 1'

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

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
42
43
44
45
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
46

47
48