Skip to content

Instantly share code, notes, and snippets.

@joshuacc
joshuacc / .bashrc
Last active August 29, 2015 13:56
Common Linux config
source ~/.git-flow-completion.sh
export TERM=xterm-16color
source /etc/bash_completion.d/git
GIT_PS1_SHOWDIRTYSTATE=true
# colours
local black='\[\033[8;30m\]'
local red='\[\033[0;31m\]'
local green='\[\033[0;32m\]'
import * as React from 'react';
interface Open {
isOpen: true;
selectedIndex: number;
}
interface Closed {
isOpen: false;
selectedIndex: null;