Skip to content

Instantly share code, notes, and snippets.

@handsomesunbird
handsomesunbird / bash_config.sh
Last active December 23, 2015 17:29 — forked from igrigorik/github.bash
1) opens Github or Bitbucket page of current project 2) check JSON and formatting it
alias ghbb="open \$(ruby -e \"print %x(git remote -v).match(/origin\\s(\\S+)\\s\\(fetch\\)/)[1].gsub(/:/,'/').gsub(/^.*?git@/,'http://')\")"
alias jsonfmt="python -m json.tool"