aliases.zsh 1.09 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
11
12

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

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

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

Geoff Garside's avatar
Geoff Garside committed
17
alias g='git'
18
19
20
21
22
23
24
25
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'
26
27
28

alias history='fc -l 1'

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

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

46
47