Skip to content

Instantly share code, notes, and snippets.

View hurshagrawal's full-sized avatar

Hursh Agrawal hurshagrawal

View GitHub Profile
@hurshagrawal
hurshagrawal / hack.sh
Created April 3, 2012 15:43 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@hurshagrawal
hurshagrawal / git_bash
Created January 19, 2012 22:47
Show git branch in bash
# Show branch in status line
PS1='[\W$(__git_ps1 " (%s)")]\$ '
export PROMPT_COMMAND='echo -ne "\033]0;${PWD/#$HOME/~}\007"'