Bash: Tweak aliases.

This commit is contained in:
Artem Sapegin 2013-02-20 00:08:08 +04:00
parent 348fdac1b3
commit 880e8c3940
2 changed files with 5 additions and 1 deletions

View File

@ -17,6 +17,7 @@ alias oo="open ."
alias e="subl"
alias gh="github"
alias +x="chmod +x"
alias x+="chmod +x"
alias g="ack -ri"
# Detect which `ls` flavor is in use
@ -88,7 +89,7 @@ alias npm-release='npm version minor -m "%s"'
# Grunt
alias gw="grunt watch --debug"
alias gs="grunt watch server --debug"
alias gs="grunt watch connect --debug"
gi() { grunt-init $@; }
# Magic Project Opener

View File

@ -8,6 +8,9 @@ bitbucket_user="sapegin"
alias git-root='git rev-parse 2>/dev/null && cd "./$(git rev-parse --show-cdup)"'
alias gr="git-root"
# Deploy using Fabric
alias pff="push && fab"
# Setup syncronization of current Git repo with GitHub repo of the same name
# USAGE: git-github [repo]
function git-github() {