1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-24 07:24:51 +08:00
ohmyzsh/aliases.zsh

36 lines
892 B
Bash
Raw Normal View History

alias pu='pushd'
alias po='popd'
alias sc='ruby script/console'
2009-08-31 20:58:53 +08:00
alias sd='ruby script/server --debugger'
alias ss='thin --stats "/thin/stats" start'
alias mr='mate CHANGELOG app config db lib public script spec test'
alias .='pwd'
alias ...='cd ../..'
alias _='sudo'
alias g='grep -in'
alias history='fc -l 1'
alias ls='ls -GF'
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"
2009-08-31 20:59:16 +08:00
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 &'