Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
788c9af0
Commit
788c9af0
authored
Oct 11, 2009
by
Gerhard Lazu
Browse files
Added more aliases for Rails & git
parent
fdac2b3f
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/aliases.zsh
View file @
788c9af0
...
@@ -2,8 +2,14 @@ alias pu='pushd'
...
@@ -2,8 +2,14 @@ alias pu='pushd'
alias
po
=
'popd'
alias
po
=
'popd'
alias
sc
=
'ruby script/console'
alias
sc
=
'ruby script/console'
alias
sdb
=
'ruby script/dbconsole'
alias
sd
=
'ruby script/server --debugger'
alias
sd
=
'ruby script/server --debugger'
alias
ss
=
'thin --stats "/thin/stats" start'
alias
ss
=
'thin --stats "/thin/stats" start'
alias
sg
=
'ruby script/generate'
alias
sd
=
'ruby script/destroy'
alias
sp
=
'ruby script/plugin'
alias
ssp
=
'ruby script/spec'
alias
rdbm
=
'rake db:migrate'
alias
mr
=
'mate CHANGELOG app config db lib public script spec test'
alias
mr
=
'mate CHANGELOG app config db lib public script spec test'
alias
.
=
'pwd'
alias
.
=
'pwd'
...
@@ -18,6 +24,7 @@ alias ss='sudo su -'
...
@@ -18,6 +24,7 @@ alias ss='sudo su -'
alias
g
=
'git'
alias
g
=
'git'
alias
gst
=
'git status'
alias
gst
=
'git status'
alias
gl
=
'git pull'
alias
gl
=
'git pull'
alias
gup
=
'git fetch && git rebase'
alias
gp
=
'git push'
alias
gp
=
'git push'
alias
gd
=
'git diff | mate'
alias
gd
=
'git diff | mate'
alias
gdv
=
'git diff -w "$@" | vim -R -'
alias
gdv
=
'git diff -w "$@" | vim -R -'
...
@@ -25,6 +32,8 @@ alias gc='git commit -v'
...
@@ -25,6 +32,8 @@ alias gc='git commit -v'
alias
gca
=
'git commit -v -a'
alias
gca
=
'git commit -v -a'
alias
gb
=
'git branch'
alias
gb
=
'git branch'
alias
gba
=
'git branch -a'
alias
gba
=
'git branch -a'
alias
gdb
=
'git branch -d'
alias
gcount
=
'git shortlog -sn'
alias history
=
'fc -l 1'
alias history
=
'fc -l 1'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment