Last active
December 26, 2015 23:39
-
-
Save lusentis/7231704 to your computer and use it in GitHub Desktop.
bash/zsh aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# handy | |
alias l="xscreensaver-command -lock" | |
alias c="clear" | |
alias s="supervisor app.js" | |
alias n="node app.js" | |
# ls | |
alias ls="ls --color=auto" | |
alias la="l -a" | |
alias ll="l -l" | |
alias lla="l -la" | |
# grep | |
alias grep="grep --color=auto" | |
alias fgrep="fgrep --color=auto" | |
alias egrep="egrep --color=auto" | |
# cd | |
alias ..="cd .." | |
alias ...="cd ../.." | |
alias -- -="cd -" | |
# git | |
alias g="git" | |
alias gs="tig show" | |
alias gg="tig status && git commit" | |
alias gc="git clone" | |
alias gll="git pull" | |
alias gce="git commit --allow-empty -m" | |
#tj's | |
alias gd="git diff | mate" | |
alias ga="git add" | |
alias gcam="tig status && git commit --amend" | |
alias gst="git status" | |
alias gca="git commit -a -m" | |
alias gcm="git commit -m" | |
alias gm="git merge --no-ff" | |
alias gpt="git push --tags" | |
alias gp="git push" | |
alias gph="git push heroku master" | |
alias gpom="git push -u origin master" | |
alias grh="git reset --hard" | |
alias gb="git branch" | |
alias gcob="git checkout -b" | |
alias gco="git checkout" | |
alias gba="git branch -a" | |
alias gcp="git cherry-pick" | |
alias gl="git log --pretty='format:%Cgreen%h%Creset %an - %s' --graph" | |
alias gllom="git pull origin master" | |
alias gcd='cd "`git rev-parse --show-toplevel`"' | |
# heroku | |
alias hl="heroku logs -t" | |
alias hc="heroku config --shell" | |
# sublime | |
alias sublime="nohup subl &" | |
alias sub="subl" | |
# mkdir | |
alias mkdir="mkdir -p" | |
alias r="./run.sh" | |
#appfog | |
alias afu="af update \$(basename \$(pwd))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment