aliases.zsh 1004 Bytes
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
13

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

alias _='sudo'

Geoff Garside's avatar
Geoff Garside committed
14
15
#alias g='grep -in'
alias g='git'
16
17
18

alias history='fc -l 1'

Geoff Garside's avatar
Geoff Garside committed
19
alias ls='ls -F'
20
21
22
23
24
25
26
27
28
29
30
alias ll='ls -al'

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'

bindkey '\ew' kill-region

bindkey -s '\el' "ls\n"
Geoff Garside's avatar
Geoff Garside committed
31
32
33
34
35
36
bindkey -s '\e.' "..\n"

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
37
38
39

bindkey "^[[A" history-beginning-search-backward
bindkey "^[[B" history-beginning-search-forward