Skip to content

Instantly share code, notes, and snippets.

@superfine
Created February 22, 2019 07:35
Show Gist options
  • Save superfine/0f6973be76a439ba70a83c933344c97d to your computer and use it in GitHub Desktop.
Save superfine/0f6973be76a439ba70a83c933344c97d to your computer and use it in GitHub Desktop.
Simple bash settings for git bash
# -------------------------------------------------------------------
# Information
alias ll='ls -la'
alias version='java -version && mvn -version && git --version && node --version && npm version && ruby -v && gem li'
alias npmls='npm -g list -depth=0'
# Git Bash
alias update='git reset --hard && git pull'
alias amend='git add . && git commit --amend && git push'
alias placeholder='touch placeholder.md | vim placeholder.md'
# Sails
alias sails='sails lift --verbose'
alias sailaway='cd prototype/ && sails lift --verbose'
# Fractal
alias frtl='fractal build && fractal start --sync'
alias grntfrtl='grunt build && fractal start --sync'
# -------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment