Bash: Tweak aliases.
This commit is contained in:
parent
348fdac1b3
commit
880e8c3940
@ -17,6 +17,7 @@ alias oo="open ."
|
|||||||
alias e="subl"
|
alias e="subl"
|
||||||
alias gh="github"
|
alias gh="github"
|
||||||
alias +x="chmod +x"
|
alias +x="chmod +x"
|
||||||
|
alias x+="chmod +x"
|
||||||
alias g="ack -ri"
|
alias g="ack -ri"
|
||||||
|
|
||||||
# Detect which `ls` flavor is in use
|
# Detect which `ls` flavor is in use
|
||||||
@ -88,7 +89,7 @@ alias npm-release='npm version minor -m "%s"'
|
|||||||
|
|
||||||
# Grunt
|
# Grunt
|
||||||
alias gw="grunt watch --debug"
|
alias gw="grunt watch --debug"
|
||||||
alias gs="grunt watch server --debug"
|
alias gs="grunt watch connect --debug"
|
||||||
gi() { grunt-init $@; }
|
gi() { grunt-init $@; }
|
||||||
|
|
||||||
# Magic Project Opener
|
# Magic Project Opener
|
||||||
|
@ -8,6 +8,9 @@ bitbucket_user="sapegin"
|
|||||||
alias git-root='git rev-parse 2>/dev/null && cd "./$(git rev-parse --show-cdup)"'
|
alias git-root='git rev-parse 2>/dev/null && cd "./$(git rev-parse --show-cdup)"'
|
||||||
alias gr="git-root"
|
alias gr="git-root"
|
||||||
|
|
||||||
|
# Deploy using Fabric
|
||||||
|
alias pff="push && fab"
|
||||||
|
|
||||||
# Setup syncronization of current Git repo with GitHub repo of the same name
|
# Setup syncronization of current Git repo with GitHub repo of the same name
|
||||||
# USAGE: git-github [repo]
|
# USAGE: git-github [repo]
|
||||||
function git-github() {
|
function git-github() {
|
||||||
|
Loading…
Reference in New Issue
Block a user