[ {"type":"CommentSingle","value":"# Install fish"}, {"type":"Text","value":"\n\nbrew install fish\n\n"}, {"type":"CommentSingle","value":"# Add fish to your list of available shells"}, {"type":"Text","value":"\n\n"}, {"type":"NameBuiltin","value":"echo"}, {"type":"Text","value":" "}, {"type":"LiteralStringDouble","value":"\"/usr/local/bin/fish/\""}, {"type":"Text","value":" "}, {"type":"Punctuation","value":"|"}, {"type":"Text","value":" sudo tee -a /etc/shells\n\n"}, {"type":"CommentSingle","value":"# Make fish the defaul shell"}, {"type":"Text","value":"\n\nchsh -s /usr/local/bin/fish\n\n"}, {"type":"CommentSingle","value":"# Restart the terminal to load fish shell"}, {"type":"Text","value":"\n\n\n"}, {"type":"CommentSingle","value":"# Code snippet from https://github.com/gmarik/gist.sh/blob/master/gist.sh"}, {"type":"Text","value":"\ngist_clone "}, {"type":"Operator","value":"()"}, {"type":"Text","value":"\n"}, {"type":"Operator","value":"{"}, {"type":"Text","value":"\n "}, {"type":"Keyword","value":"if"}, {"type":"Text","value":" "}, {"type":"Operator","value":"["}, {"type":"Text","value":" "}, {"type":"LiteralStringDouble","value":"\""}, {"type":"NameVariable","value":"$_PRIVATE"}, {"type":"LiteralStringDouble","value":"\""}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"LiteralStringDouble","value":"\"1\""}, {"type":"Text","value":" "}, {"type":"Operator","value":"]"}, {"type":"Punctuation","value":";"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"then"}, {"type":"Text","value":"\n "}, {"type":"NameVariable","value":"URL"}, {"type":"Operator","value":"="}, {"type":"LiteralStringDouble","value":"\"git@gist.github.com:"}, {"type":"NameVariable","value":"$1"}, {"type":"LiteralStringDouble","value":".git\""}, {"type":"Text","value":"\n "}, {"type":"Keyword","value":"else"}, {"type":"Text","value":"\n "}, {"type":"NameVariable","value":"URL"}, {"type":"Operator","value":"="}, {"type":"LiteralStringDouble","value":"\"git://gist.github.com/"}, {"type":"NameVariable","value":"$1"}, {"type":"LiteralStringDouble","value":".git\""}, {"type":"Text","value":"\n "}, {"type":"Keyword","value":"fi"}, {"type":"Text","value":"\n\n log "}, {"type":"LiteralStringDouble","value":"\"* cloning Gist from "}, {"type":"NameVariable","value":"$URL"}, {"type":"LiteralStringDouble","value":"\""}, {"type":"Text","value":"\n\n "}, {"type":"NameVariable","value":"CMD"}, {"type":"Operator","value":"="}, {"type":"LiteralStringDouble","value":"\"git clone "}, {"type":"NameVariable","value":"$URL"}, {"type":"LiteralStringDouble","value":" gist-"}, {"type":"NameVariable","value":"$1"}, {"type":"LiteralStringDouble","value":"\""}, {"type":"Text","value":"\n\n "}, {"type":"Keyword","value":"if"}, {"type":"Text","value":" "}, {"type":"Operator","value":"["}, {"type":"Text","value":" "}, {"type":"LiteralStringDouble","value":"\""}, {"type":"NameVariable","value":"$_DEBUG"}, {"type":"LiteralStringDouble","value":"\""}, {"type":"Text","value":" "}, {"type":"Operator","value":"="}, {"type":"Text","value":" "}, {"type":"LiteralStringDouble","value":"\"1\""}, {"type":"Text","value":" "}, {"type":"Operator","value":"]"}, {"type":"Punctuation","value":";"}, {"type":"Text","value":" "}, {"type":"Keyword","value":"then"}, {"type":"Text","value":"\n "}, {"type":"NameBuiltin","value":"echo"}, {"type":"Text","value":" "}, {"type":"NameVariable","value":"$CMD"}, {"type":"Text","value":"\n "}, {"type":"NameBuiltin","value":"exit"}, {"type":"Text","value":" "}, {"type":"LiteralNumber","value":"0"}, {"type":"Text","value":"\n "}, {"type":"Keyword","value":"fi"}, {"type":"Text","value":"\n\n "}, {"type":"NameVariable","value":"$CMD"}, {"type":"Text","value":"\n"}, {"type":"Operator","value":"}"}, {"type":"Text","value":"\n\n"}, {"type":"CommentSingle","value":"# Code snippet from https://gist.github.com/thejefflarson/885812"}, {"type":"Text","value":"\ntiger_em "}, {"type":"Operator","value":"()"}, {"type":"Text","value":" "}, {"type":"Operator","value":"{"}, {"type":"Text","value":"\n "}, {"type":"NameVariable","value":"directory"}, {"type":"Operator","value":"="}, {"type":"NameVariable","value":"$WD"}, {"type":"Text","value":"/"}, {"type":"NameVariable","value":"$1"}, {"type":"Text","value":"\n "}, {"type":"NameBuiltin","value":"shift"}, {"type":"Text","value":"\n "}, {"type":"Keyword","value":"until"}, {"type":"Text","value":" "}, {"type":"Operator","value":"["}, {"type":"Text","value":" -z "}, {"type":"LiteralStringDouble","value":"\""}, {"type":"NameVariable","value":"$1"}, {"type":"LiteralStringDouble","value":"\""}, {"type":"Text","value":" "}, {"type":"Operator","value":"]"}, {"type":"Text","value":" \n "}, {"type":"Keyword","value":"do"}, {"type":"Text","value":"\n get_em "}, {"type":"NameVariable","value":"$directory"}, {"type":"Text","value":" "}, {"type":"LiteralStringDouble","value":"\"ftp://ftp2.census.gov/geo/tiger/TIGER2010/\""}, {"type":"NameVariable","value":"$1"}, {"type":"Text","value":"\n "}, {"type":"NameBuiltin","value":"shift"}, {"type":"Text","value":"\n "}, {"type":"Keyword","value":"done"}, {"type":"Text","value":"\n"}, {"type":"Operator","value":"}"}, {"type":"Text","value":"\n\n"}, {"type":"CommentSingle","value":"# bare comment marker"}, {"type":"Text","value":"\n"}, {"type":"CommentSingle","value":"#"}, {"type":"Text","value":"\n"} ]