1
0
Fork 0

Aliases, ST3

This commit is contained in:
Gregory Eremin 2013-02-27 10:26:11 +04:00
parent a4c14bc74a
commit eacc58c335
3 changed files with 14 additions and 8 deletions

View File

@ -1,5 +1,4 @@
.DS_Store
.bundle
.rake_tasks
*.sublime-project
*.sublime-workspace
*.sublime-*

View File

@ -1,13 +1,20 @@
alias reload!='. ~/.zshrc'
alias b='bundle exec'
alias please='sudo'
alias mkbundle='bundle install --path .bundle'
alias reload!=". ~/.zshrc"
alias please="sudo"
# Ruby & Rails
alias b="bundle exec"
alias mkbundle="bundle install --path .bundle"
alias ss="git up && bundle && bundle exec rake db:migrate"
alias rc="bundle exec rails c"
alias rs="bundle exec rails s"
# Git
alias glog="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias gl="git log --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
alias gc="git commit -m"
alias ga="git add -u && git add . && git st"
alias gs="git st"
alias gd="git diff"
alias gp="git push"
# Services start-ups and shut-downs

View File

@ -1,3 +1,3 @@
export PATH=~/.dotfiles/bin:$PATH
export PATH=~/.apps/tunneler/bin:$PATH
export PATH=/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin:$PATH
export PATH=/Applications/Sublime\ Text\ 3.app/Contents/SharedSupport/bin:$PATH