Skip to content

Instantly share code, notes, and snippets.

@aguimaraes
Created December 9, 2015 13:46
Show Gist options
  • Select an option

  • Save aguimaraes/79244f0a0bbdc3f3f2b9 to your computer and use it in GitHub Desktop.

Select an option

Save aguimaraes/79244f0a0bbdc3f3f2b9 to your computer and use it in GitHub Desktop.
alias add='git add'
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
alias commit='git commit -m'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias git-graph='git log --graph --oneline --decorate --all'
alias git-log-files='git log --name-status'
alias grep='grep --colour=auto'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -alF'
alias ls='ls --color=auto'
alias migrate='php artisan migrate'
alias migrate-seed='php artisan migrate --seed'
alias pull='git pull'
alias push='git push'
alias rollback='php artisan migrate:rollback'
alias seed='php artisan db:seed'
alias status='git status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment