This file contains hidden or 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
#! /usr/bin/python | |
## get_instagram_tag | |
## by Chris Foresman | |
## @foresmac | |
## | |
## Instagram API: http://instagram.com/developer/ | |
## Requires the requests Python library | |
## (sudo) pip install requests |
This file contains hidden or 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
# This theme attempts to map Solarized Dark colors to bpython similar to | |
# SublimeText 2. Requires Solarized Dark.ML.settings for Terminal.app. | |
# Copy to ~/.bpython/solarized.theme and | |
# set "color_scheme = solarized" in ~/bpython/config | |
[syntax] | |
keyword = g | |
name = d | |
comment = G |
This file contains hidden or 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
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1) /' | |
} | |
PS1="\[\e[32m\]\$(parse_git_branch)\[\e[34m\]\h:\W \$ \[\e[m\]" | |
export PS1 |
NewerOlder