diff --git a/.aliases b/.aliases
index 1313fe533..d708199c5 100644
--- a/.aliases
+++ b/.aliases
@@ -17,9 +17,9 @@ alias j="jobs"
# Detect which `ls` flavor is in use
if ls --color > /dev/null 2>&1; then # GNU `ls`
- colorflag="--color"
+ colorflag="--color"
else # OS X `ls`
- colorflag="-G"
+ colorflag="-G"
fi
# List all files colorized in long format
@@ -120,7 +120,7 @@ alias map="xargs -n1"
# One of @janmoesen’s ProTip™s
for method in GET HEAD POST PUT DELETE TRACE OPTIONS; do
- alias "$method"="lwp-request -m '$method'"
+ alias "$method"="lwp-request -m '$method'"
done
# Make Grunt print stack traces by default
diff --git a/.bash_prompt b/.bash_prompt
index 13a026fe0..f8f2dc671 100644
--- a/.bash_prompt
+++ b/.bash_prompt
@@ -4,103 +4,103 @@
# iTerm → Profiles → Text → use 13pt Monaco with 1.1 vertical spacing.
if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then
- export TERM='gnome-256color';
+ export TERM='gnome-256color';
elif infocmp xterm-256color >/dev/null 2>&1; then
- export TERM='xterm-256color';
+ export TERM='xterm-256color';
fi;
prompt_git() {
- local s='';
- local branchName='';
+ local s='';
+ local branchName='';
- # Check if the current directory is in a Git repository.
- if [ $(git rev-parse --is-inside-work-tree &>/dev/null; echo "${?}") == '0' ]; then
+ # Check if the current directory is in a Git repository.
+ if [ $(git rev-parse --is-inside-work-tree &>/dev/null; echo "${?}") == '0' ]; then
- # check if the current directory is in .git before running git checks
- if [ "$(git rev-parse --is-inside-git-dir 2> /dev/null)" == 'false' ]; then
+ # check if the current directory is in .git before running git checks
+ if [ "$(git rev-parse --is-inside-git-dir 2> /dev/null)" == 'false' ]; then
- # Ensure the index is up to date.
- git update-index --really-refresh -q &>/dev/null;
+ # Ensure the index is up to date.
+ git update-index --really-refresh -q &>/dev/null;
- # Check for uncommitted changes in the index.
- if ! $(git diff --quiet --ignore-submodules --cached); then
- s+='+';
- fi;
+ # Check for uncommitted changes in the index.
+ if ! $(git diff --quiet --ignore-submodules --cached); then
+ s+='+';
+ fi;
- # Check for unstaged changes.
- if ! $(git diff-files --quiet --ignore-submodules --); then
- s+='!';
- fi;
+ # Check for unstaged changes.
+ if ! $(git diff-files --quiet --ignore-submodules --); then
+ s+='!';
+ fi;
- # Check for untracked files.
- if [ -n "$(git ls-files --others --exclude-standard)" ]; then
- s+='?';
- fi;
+ # Check for untracked files.
+ if [ -n "$(git ls-files --others --exclude-standard)" ]; then
+ s+='?';
+ fi;
- # Check for stashed files.
- if $(git rev-parse --verify refs/stash &>/dev/null); then
- s+='$';
- fi;
+ # Check for stashed files.
+ if $(git rev-parse --verify refs/stash &>/dev/null); then
+ s+='$';
+ fi;
- fi;
+ fi;
- # Get the short symbolic ref.
- # If HEAD isn’t a symbolic ref, get the short SHA for the latest commit
- # Otherwise, just give up.
- branchName="$(git symbolic-ref --quiet --short HEAD 2> /dev/null || \
- git rev-parse --short HEAD 2> /dev/null || \
- echo '(unknown)')";
+ # Get the short symbolic ref.
+ # If HEAD isn’t a symbolic ref, get the short SHA for the latest commit
+ # Otherwise, just give up.
+ branchName="$(git symbolic-ref --quiet --short HEAD 2> /dev/null || \
+ git rev-parse --short HEAD 2> /dev/null || \
+ echo '(unknown)')";
- [ -n "${s}" ] && s=" [${s}]";
+ [ -n "${s}" ] && s=" [${s}]";
- echo -e "${1}${branchName}${blue}${s}";
- else
- return;
- fi;
+ echo -e "${1}${branchName}${blue}${s}";
+ else
+ return;
+ fi;
}
if tput setaf 1 &> /dev/null; then
- tput sgr0; # reset colors
- bold=$(tput bold);
- reset=$(tput sgr0);
- # Solarized colors, taken from http://git.io/solarized-colors.
- black=$(tput setaf 0);
- blue=$(tput setaf 33);
- cyan=$(tput setaf 37);
- green=$(tput setaf 64);
- orange=$(tput setaf 166);
- purple=$(tput setaf 125);
- red=$(tput setaf 124);
- violet=$(tput setaf 61);
- white=$(tput setaf 15);
- yellow=$(tput setaf 136);
+ tput sgr0; # reset colors
+ bold=$(tput bold);
+ reset=$(tput sgr0);
+ # Solarized colors, taken from http://git.io/solarized-colors.
+ black=$(tput setaf 0);
+ blue=$(tput setaf 33);
+ cyan=$(tput setaf 37);
+ green=$(tput setaf 64);
+ orange=$(tput setaf 166);
+ purple=$(tput setaf 125);
+ red=$(tput setaf 124);
+ violet=$(tput setaf 61);
+ white=$(tput setaf 15);
+ yellow=$(tput setaf 136);
else
- bold='';
- reset="\e[0m";
- black="\e[1;30m";
- blue="\e[1;34m";
- cyan="\e[1;36m";
- green="\e[1;32m";
- orange="\e[1;33m";
- purple="\e[1;35m";
- red="\e[1;31m";
- violet="\e[1;35m";
- white="\e[1;37m";
- yellow="\e[1;33m";
+ bold='';
+ reset="\e[0m";
+ black="\e[1;30m";
+ blue="\e[1;34m";
+ cyan="\e[1;36m";
+ green="\e[1;32m";
+ orange="\e[1;33m";
+ purple="\e[1;35m";
+ red="\e[1;31m";
+ violet="\e[1;35m";
+ white="\e[1;37m";
+ yellow="\e[1;33m";
fi;
# Highlight the user name when logged in as root.
if [[ "${USER}" == "root" ]]; then
- userStyle="${red}";
+ userStyle="${red}";
else
- userStyle="${orange}";
+ userStyle="${orange}";
fi;
# Highlight the hostname when connected via SSH.
if [[ "${SSH_TTY}" ]]; then
- hostStyle="${bold}${red}";
+ hostStyle="${bold}${red}";
else
- hostStyle="${yellow}";
+ hostStyle="${yellow}";
fi;
# Set the terminal title to the current working directory.
diff --git a/.functions b/.functions
index a5e373617..950fbd156 100644
--- a/.functions
+++ b/.functions
@@ -1,240 +1,240 @@
# Simple calculator
function calc() {
- local result="";
- result="$(printf "scale=10;$*\n" | bc --mathlib | tr -d '\\\n')";
- # └─ default (when `--mathlib` is used) is 20
- #
- if [[ "$result" == *.* ]]; then
- # improve the output for decimal numbers
- printf "$result" |
- sed -e 's/^\./0./' `# add "0" for cases like ".5"` \
- -e 's/^-\./-0./' `# add "0" for cases like "-.5"`\
- -e 's/0*$//;s/\.$//'; # remove trailing zeros
- else
- printf "$result";
- fi;
- printf "\n";
+ local result="";
+ result="$(printf "scale=10;$*\n" | bc --mathlib | tr -d '\\\n')";
+ # └─ default (when `--mathlib` is used) is 20
+ #
+ if [[ "$result" == *.* ]]; then
+ # improve the output for decimal numbers
+ printf "$result" |
+ sed -e 's/^\./0./' `# add "0" for cases like ".5"` \
+ -e 's/^-\./-0./' `# add "0" for cases like "-.5"`\
+ -e 's/0*$//;s/\.$//'; # remove trailing zeros
+ else
+ printf "$result";
+ fi;
+ printf "\n";
}
# Create a new directory and enter it
function mkd() {
- mkdir -p "$@" && cd "$_";
+ mkdir -p "$@" && cd "$_";
}
# Change working directory to the top-most Finder window location
function cdf() { # short for `cdfinder`
- cd "$(osascript -e 'tell app "Finder" to POSIX path of (insertion location as alias)')";
+ cd "$(osascript -e 'tell app "Finder" to POSIX path of (insertion location as alias)')";
}
# Create a .tar.gz archive, using `zopfli`, `pigz` or `gzip` for compression
function targz() {
- local tmpFile="${@%/}.tar";
- tar -cvf "${tmpFile}" --exclude=".DS_Store" "${@}" || return 1;
-
- size=$(
- stat -f"%z" "${tmpFile}" 2> /dev/null; # OS X `stat`
- stat -c"%s" "${tmpFile}" 2> /dev/null # GNU `stat`
- );
-
- local cmd="";
- if (( size < 52428800 )) && hash zopfli 2> /dev/null; then
- # the .tar file is smaller than 50 MB and Zopfli is available; use it
- cmd="zopfli";
- else
- if hash pigz 2> /dev/null; then
- cmd="pigz";
- else
- cmd="gzip";
- fi;
- fi;
-
- echo "Compressing .tar using \`${cmd}\`…";
- "${cmd}" -v "${tmpFile}" || return 1;
- [ -f "${tmpFile}" ] && rm "${tmpFile}";
- echo "${tmpFile}.gz created successfully.";
+ local tmpFile="${@%/}.tar";
+ tar -cvf "${tmpFile}" --exclude=".DS_Store" "${@}" || return 1;
+
+ size=$(
+ stat -f"%z" "${tmpFile}" 2> /dev/null; # OS X `stat`
+ stat -c"%s" "${tmpFile}" 2> /dev/null # GNU `stat`
+ );
+
+ local cmd="";
+ if (( size < 52428800 )) && hash zopfli 2> /dev/null; then
+ # the .tar file is smaller than 50 MB and Zopfli is available; use it
+ cmd="zopfli";
+ else
+ if hash pigz 2> /dev/null; then
+ cmd="pigz";
+ else
+ cmd="gzip";
+ fi;
+ fi;
+
+ echo "Compressing .tar using \`${cmd}\`…";
+ "${cmd}" -v "${tmpFile}" || return 1;
+ [ -f "${tmpFile}" ] && rm "${tmpFile}";
+ echo "${tmpFile}.gz created successfully.";
}
# Determine size of a file or total size of a directory
function fs() {
- if du -b /dev/null > /dev/null 2>&1; then
- local arg=-sbh;
- else
- local arg=-sh;
- fi
- if [[ -n "$@" ]]; then
- du $arg -- "$@";
- else
- du $arg .[^.]* *;
- fi;
+ if du -b /dev/null > /dev/null 2>&1; then
+ local arg=-sbh;
+ else
+ local arg=-sh;
+ fi
+ if [[ -n "$@" ]]; then
+ du $arg -- "$@";
+ else
+ du $arg .[^.]* *;
+ fi;
}
# Use Git’s colored diff when available
hash git &>/dev/null;
if [ $? -eq 0 ]; then
- function diff() {
- git diff --no-index --color-words "$@";
- }
+ function diff() {
+ git diff --no-index --color-words "$@";
+ }
fi;
# Create a data URL from a file
function dataurl() {
- local mimeType=$(file -b --mime-type "$1");
- if [[ $mimeType == text/* ]]; then
- mimeType="${mimeType};charset=utf-8";
- fi
- echo "data:${mimeType};base64,$(openssl base64 -in "$1" | tr -d '\n')";
+ local mimeType=$(file -b --mime-type "$1");
+ if [[ $mimeType == text/* ]]; then
+ mimeType="${mimeType};charset=utf-8";
+ fi
+ echo "data:${mimeType};base64,$(openssl base64 -in "$1" | tr -d '\n')";
}
# Create a git.io short URL
function gitio() {
- if [ -z "${1}" -o -z "${2}" ]; then
- echo "Usage: \`gitio slug url\`";
- return 1;
- fi;
- curl -i http://git.io/ -F "url=${2}" -F "code=${1}";
+ if [ -z "${1}" -o -z "${2}" ]; then
+ echo "Usage: \`gitio slug url\`";
+ return 1;
+ fi;
+ curl -i http://git.io/ -F "url=${2}" -F "code=${1}";
}
# Start an HTTP server from a directory, optionally specifying the port
function server() {
- local port="${1:-8000}";
- sleep 1 && open "http://localhost:${port}/" &
- # Set the default Content-Type to `text/plain` instead of `application/octet-stream`
- # And serve everything as UTF-8 (although not technically correct, this doesn’t break anything for binary files)
- python -c $'import SimpleHTTPServer;\nmap = SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map;\nmap[""] = "text/plain";\nfor key, value in map.items():\n\tmap[key] = value + ";charset=UTF-8";\nSimpleHTTPServer.test();' "$port";
+ local port="${1:-8000}";
+ sleep 1 && open "http://localhost:${port}/" &
+ # Set the default Content-Type to `text/plain` instead of `application/octet-stream`
+ # And serve everything as UTF-8 (although not technically correct, this doesn’t break anything for binary files)
+ python -c $'import SimpleHTTPServer;\nmap = SimpleHTTPServer.SimpleHTTPRequestHandler.extensions_map;\nmap[""] = "text/plain";\nfor key, value in map.items():\n\tmap[key] = value + ";charset=UTF-8";\nSimpleHTTPServer.test();' "$port";
}
# Start a PHP server from a directory, optionally specifying the port
# (Requires PHP 5.4.0+.)
function phpserver() {
- local port="${1:-4000}";
- local ip=$(ipconfig getifaddr en1);
- sleep 1 && open "http://${ip}:${port}/" &
- php -S "${ip}:${port}";
+ local port="${1:-4000}";
+ local ip=$(ipconfig getifaddr en1);
+ sleep 1 && open "http://${ip}:${port}/" &
+ php -S "${ip}:${port}";
}
# Compare original and gzipped file size
function gz() {
- local origsize=$(wc -c < "$1");
- local gzipsize=$(gzip -c "$1" | wc -c);
- local ratio=$(echo "$gzipsize * 100 / $origsize" | bc -l);
- printf "orig: %d bytes\n" "$origsize";
- printf "gzip: %d bytes (%2.2f%%)\n" "$gzipsize" "$ratio";
+ local origsize=$(wc -c < "$1");
+ local gzipsize=$(gzip -c "$1" | wc -c);
+ local ratio=$(echo "$gzipsize * 100 / $origsize" | bc -l);
+ printf "orig: %d bytes\n" "$origsize";
+ printf "gzip: %d bytes (%2.2f%%)\n" "$gzipsize" "$ratio";
}
# Syntax-highlight JSON strings or files
# Usage: `json '{"foo":42}'` or `echo '{"foo":42}' | json`
function json() {
- if [ -t 0 ]; then # argument
- python -mjson.tool <<< "$*" | pygmentize -l javascript;
- else # pipe
- python -mjson.tool | pygmentize -l javascript;
- fi;
+ if [ -t 0 ]; then # argument
+ python -mjson.tool <<< "$*" | pygmentize -l javascript;
+ else # pipe
+ python -mjson.tool | pygmentize -l javascript;
+ fi;
}
# Run `dig` and display the most useful info
function digga() {
- dig +nocmd "$1" any +multiline +noall +answer;
+ dig +nocmd "$1" any +multiline +noall +answer;
}
# UTF-8-encode a string of Unicode symbols
function escape() {
- printf "\\\x%s" $(printf "$@" | xxd -p -c1 -u);
- # print a newline unless we’re piping the output to another program
- if [ -t 1 ]; then
- echo ""; # newline
- fi;
+ printf "\\\x%s" $(printf "$@" | xxd -p -c1 -u);
+ # print a newline unless we’re piping the output to another program
+ if [ -t 1 ]; then
+ echo ""; # newline
+ fi;
}
# Decode \x{ABCD}-style Unicode escape sequences
function unidecode() {
- perl -e "binmode(STDOUT, ':utf8'); print \"$@\"";
- # print a newline unless we’re piping the output to another program
- if [ -t 1 ]; then
- echo ""; # newline
- fi;
+ perl -e "binmode(STDOUT, ':utf8'); print \"$@\"";
+ # print a newline unless we’re piping the output to another program
+ if [ -t 1 ]; then
+ echo ""; # newline
+ fi;
}
# Get a character’s Unicode code point
function codepoint() {
- perl -e "use utf8; print sprintf('U+%04X', ord(\"$@\"))";
- # print a newline unless we’re piping the output to another program
- if [ -t 1 ]; then
- echo ""; # newline
- fi;
+ perl -e "use utf8; print sprintf('U+%04X', ord(\"$@\"))";
+ # print a newline unless we’re piping the output to another program
+ if [ -t 1 ]; then
+ echo ""; # newline
+ fi;
}
# Show all the names (CNs and SANs) listed in the SSL certificate
# for a given domain
function getcertnames() {
- if [ -z "${1}" ]; then
- echo "ERROR: No domain specified.";
- return 1;
- fi;
-
- local domain="${1}";
- echo "Testing ${domain}…";
- echo ""; # newline
-
- local tmp=$(echo -e "GET / HTTP/1.0\nEOT" \
- | openssl s_client -connect "${domain}:443" -servername "${domain}" 2>&1);
-
- if [[ "${tmp}" = *"-----BEGIN CERTIFICATE-----"* ]]; then
- local certText=$(echo "${tmp}" \
- | openssl x509 -text -certopt "no_aux, no_header, no_issuer, no_pubkey, \
- no_serial, no_sigdump, no_signame, no_validity, no_version");
- echo "Common Name:";
- echo ""; # newline
- echo "${certText}" | grep "Subject:" | sed -e "s/^.*CN=//" | sed -e "s/\/emailAddress=.*//";
- echo ""; # newline
- echo "Subject Alternative Name(s):";
- echo ""; # newline
- echo "${certText}" | grep -A 1 "Subject Alternative Name:" \
- | sed -e "2s/DNS://g" -e "s/ //g" | tr "," "\n" | tail -n +2;
- return 0;
- else
- echo "ERROR: Certificate not found.";
- return 1;
- fi;
+ if [ -z "${1}" ]; then
+ echo "ERROR: No domain specified.";
+ return 1;
+ fi;
+
+ local domain="${1}";
+ echo "Testing ${domain}…";
+ echo ""; # newline
+
+ local tmp=$(echo -e "GET / HTTP/1.0\nEOT" \
+ | openssl s_client -connect "${domain}:443" -servername "${domain}" 2>&1);
+
+ if [[ "${tmp}" = *"-----BEGIN CERTIFICATE-----"* ]]; then
+ local certText=$(echo "${tmp}" \
+ | openssl x509 -text -certopt "no_aux, no_header, no_issuer, no_pubkey, \
+ no_serial, no_sigdump, no_signame, no_validity, no_version");
+ echo "Common Name:";
+ echo ""; # newline
+ echo "${certText}" | grep "Subject:" | sed -e "s/^.*CN=//" | sed -e "s/\/emailAddress=.*//";
+ echo ""; # newline
+ echo "Subject Alternative Name(s):";
+ echo ""; # newline
+ echo "${certText}" | grep -A 1 "Subject Alternative Name:" \
+ | sed -e "2s/DNS://g" -e "s/ //g" | tr "," "\n" | tail -n +2;
+ return 0;
+ else
+ echo "ERROR: Certificate not found.";
+ return 1;
+ fi;
}
# `s` with no arguments opens the current directory in Sublime Text, otherwise
# opens the given location
function s() {
- if [ $# -eq 0 ]; then
- subl .;
- else
- subl "$@";
- fi;
+ if [ $# -eq 0 ]; then
+ subl .;
+ else
+ subl "$@";
+ fi;
}
# `a` with no arguments opens the current directory in Atom Editor, otherwise
# opens the given location
function a() {
- if [ $# -eq 0 ]; then
- atom .;
- else
- atom "$@";
- fi;
+ if [ $# -eq 0 ]; then
+ atom .;
+ else
+ atom "$@";
+ fi;
}
# `v` with no arguments opens the current directory in Vim, otherwise opens the
# given location
function v() {
- if [ $# -eq 0 ]; then
- vim .;
- else
- vim "$@";
- fi;
+ if [ $# -eq 0 ]; then
+ vim .;
+ else
+ vim "$@";
+ fi;
}
# `o` with no arguments opens the current directory, otherwise opens the given
# location
function o() {
- if [ $# -eq 0 ]; then
- open .;
- else
- open "$@";
- fi;
+ if [ $# -eq 0 ]; then
+ open .;
+ else
+ open "$@";
+ fi;
}
# `tre` is a shorthand for `tree` with hidden files and color enabled, ignoring
@@ -242,5 +242,5 @@ function o() {
# `less` with options to preserve color and line numbers, unless the output is
# small enough for one screen.
function tre() {
- tree -aC -I '.git|node_modules|bower_components' --dirsfirst "$@" | less -FRNX;
+ tree -aC -I '.git|node_modules|bower_components' --dirsfirst "$@" | less -FRNX;
}
diff --git a/.gitconfig b/.gitconfig
index 47bd74d1a..b06f1c796 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -1,168 +1,168 @@
[alias]
- # View abbreviated SHA, description, and history graph of the latest 20 commits
- l = log --pretty=oneline -n 20 --graph --abbrev-commit
+ # View abbreviated SHA, description, and history graph of the latest 20 commits
+ l = log --pretty=oneline -n 20 --graph --abbrev-commit
- # View the current working tree status using the short format
- s = status -s
+ # View the current working tree status using the short format
+ s = status -s
- # Show the diff between the latest commit and the current state
- d = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat"
+ # Show the diff between the latest commit and the current state
+ d = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat"
- # `git di $number` shows the diff between the state `$number` revisions ago and the current state
- di = !"d() { git diff --patch-with-stat HEAD~$1; }; git diff-index --quiet HEAD -- || clear; d"
+ # `git di $number` shows the diff between the state `$number` revisions ago and the current state
+ di = !"d() { git diff --patch-with-stat HEAD~$1; }; git diff-index --quiet HEAD -- || clear; d"
- # Pull in remote changes for the current repository and all its submodules
- p = !"git pull; git submodule foreach git pull origin master"
+ # Pull in remote changes for the current repository and all its submodules
+ p = !"git pull; git submodule foreach git pull origin master"
- # Clone a repository including all submodules
- c = clone --recursive
+ # Clone a repository including all submodules
+ c = clone --recursive
- # Commit all changes
- ca = !git add -A && git commit -av
+ # Commit all changes
+ ca = !git add -A && git commit -av
- # Switch to a branch, creating it if necessary
- go = "!f() { git checkout -b \"$1\" 2> /dev/null || git checkout \"$1\"; }; f"
+ # Switch to a branch, creating it if necessary
+ go = "!f() { git checkout -b \"$1\" 2> /dev/null || git checkout \"$1\"; }; f"
- # Show verbose output about tags, branches or remotes
- tags = tag -l
- branches = branch -a
- remotes = remote -v
+ # Show verbose output about tags, branches or remotes
+ tags = tag -l
+ branches = branch -a
+ remotes = remote -v
- # Amend the currently staged files to the latest commit
- amend = commit --amend --reuse-message=HEAD
+ # Amend the currently staged files to the latest commit
+ amend = commit --amend --reuse-message=HEAD
- # Credit an author on the latest commit
- credit = "!f() { git commit --amend --author \"$1 <$2>\" -C HEAD; }; f"
+ # Credit an author on the latest commit
+ credit = "!f() { git commit --amend --author \"$1 <$2>\" -C HEAD; }; f"
- # Interactive rebase with the given number of latest commits
- reb = "!r() { git rebase -i HEAD~$1; }; r"
+ # Interactive rebase with the given number of latest commits
+ reb = "!r() { git rebase -i HEAD~$1; }; r"
- # Remove the old tag with this name and tag the latest commit with it.
- retag = "!r() { git tag -d $1 && git push origin :refs/tags/$1 && git tag $1; }; r"
+ # Remove the old tag with this name and tag the latest commit with it.
+ retag = "!r() { git tag -d $1 && git push origin :refs/tags/$1 && git tag $1; }; r"
- # Find branches containing commit
- fb = "!f() { git branch -a --contains $1; }; f"
+ # Find branches containing commit
+ fb = "!f() { git branch -a --contains $1; }; f"
- # Find tags containing commit
- ft = "!f() { git describe --always --contains $1; }; f"
+ # Find tags containing commit
+ ft = "!f() { git describe --always --contains $1; }; f"
- # Find commits by source code
- fc = "!f() { git log --pretty=format:'%C(yellow)%h %Cblue%ad %Creset%s%Cgreen [%cn] %Cred%d' --decorate --date=short -S$1; }; f"
+ # Find commits by source code
+ fc = "!f() { git log --pretty=format:'%C(yellow)%h %Cblue%ad %Creset%s%Cgreen [%cn] %Cred%d' --decorate --date=short -S$1; }; f"
- # Find commits by commit message
- fm = "!f() { git log --pretty=format:'%C(yellow)%h %Cblue%ad %Creset%s%Cgreen [%cn] %Cred%d' --decorate --date=short --grep=$1; }; f"
+ # Find commits by commit message
+ fm = "!f() { git log --pretty=format:'%C(yellow)%h %Cblue%ad %Creset%s%Cgreen [%cn] %Cred%d' --decorate --date=short --grep=$1; }; f"
- # Remove branches that have already been merged with master
- # a.k.a. ‘delete merged’
- dm = "!git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
+ # Remove branches that have already been merged with master
+ # a.k.a. ‘delete merged’
+ dm = "!git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
- # List contributors with number of commits
- contributors = shortlog --summary --numbered
+ # List contributors with number of commits
+ contributors = shortlog --summary --numbered
- # Merge GitHub pull request on top of the `master` branch
- mpr = "!f() { \
- if [ $(printf \"%s\" \"$1\" | grep '^[0-9]\\+$' > /dev/null; printf $?) -eq 0 ]; then \
- git fetch origin refs/pull/$1/head:pr/$1 && \
- git rebase master pr/$1 && \
- git checkout master && \
- git merge pr/$1 && \
- git branch -D pr/$1 && \
- git commit --amend -m \"$(git log -1 --pretty=%B)\n\nCloses #$1.\"; \
- fi \
- }; f"
+ # Merge GitHub pull request on top of the `master` branch
+ mpr = "!f() { \
+ if [ $(printf \"%s\" \"$1\" | grep '^[0-9]\\+$' > /dev/null; printf $?) -eq 0 ]; then \
+ git fetch origin refs/pull/$1/head:pr/$1 && \
+ git rebase master pr/$1 && \
+ git checkout master && \
+ git merge pr/$1 && \
+ git branch -D pr/$1 && \
+ git commit --amend -m \"$(git log -1 --pretty=%B)\n\nCloses #$1.\"; \
+ fi \
+ }; f"
[apply]
- # Detect whitespace errors when applying a patch
- whitespace = fix
+ # Detect whitespace errors when applying a patch
+ whitespace = fix
[core]
- # Use custom `.gitignore` and `.gitattributes`
- excludesfile = ~/.gitignore
- attributesfile = ~/.gitattributes
+ # Use custom `.gitignore` and `.gitattributes`
+ excludesfile = ~/.gitignore
+ attributesfile = ~/.gitattributes
- # Treat spaces before tabs and all kinds of trailing whitespace as an error
- # [default] trailing-space: looks for spaces at the end of a line
- # [default] space-before-tab: looks for spaces before tabs at the beginning of a line
- whitespace = space-before-tab,-indent-with-non-tab,trailing-space
+ # Treat spaces before tabs and all kinds of trailing whitespace as an error
+ # [default] trailing-space: looks for spaces at the end of a line
+ # [default] space-before-tab: looks for spaces before tabs at the beginning of a line
+ whitespace = space-before-tab,-indent-with-non-tab,trailing-space
- # Make `git rebase` safer on OS X
- # More info:
- trustctime = false
+ # Make `git rebase` safer on OS X
+ # More info:
+ trustctime = false
- # Prevent showing files whose names contain non-ASCII symbols as unversioned.
- # http://michael-kuehnel.de/git/2014/11/21/git-mac-osx-and-german-umlaute.html
- precomposeunicode = false
+ # Prevent showing files whose names contain non-ASCII symbols as unversioned.
+ # http://michael-kuehnel.de/git/2014/11/21/git-mac-osx-and-german-umlaute.html
+ precomposeunicode = false
[color]
- # Use colors in Git commands that are capable of colored output when
- # outputting to the terminal. (This is the default setting in Git ≥ 1.8.4.)
- ui = auto
+ # Use colors in Git commands that are capable of colored output when
+ # outputting to the terminal. (This is the default setting in Git ≥ 1.8.4.)
+ ui = auto
[color "branch"]
- current = yellow reverse
- local = yellow
- remote = green
+ current = yellow reverse
+ local = yellow
+ remote = green
[color "diff"]
- meta = yellow bold
- frag = magenta bold # line info
- old = red # deletions
- new = green # additions
+ meta = yellow bold
+ frag = magenta bold # line info
+ old = red # deletions
+ new = green # additions
[color "status"]
- added = yellow
- changed = green
- untracked = cyan
+ added = yellow
+ changed = green
+ untracked = cyan
[diff]
- # Detect copies as well as renames
- renames = copies
+ # Detect copies as well as renames
+ renames = copies
[help]
- # Automatically correct and execute mistyped commands
- autocorrect = 1
+ # Automatically correct and execute mistyped commands
+ autocorrect = 1
[merge]
- # Include summaries of merged commits in newly created merge commit messages
- log = true
+ # Include summaries of merged commits in newly created merge commit messages
+ log = true
[push]
- # Use the Git 1.x.x default to avoid errors on machines with old Git
- # installations. To use `simple` instead, add this to your `~/.extra` file:
- # `git config --global push.default simple`. See http://git.io/mMah-w.
- default = matching
- # Make `git push` push relevant annotated tags when pushing branches out.
- followTags = true
+ # Use the Git 1.x.x default to avoid errors on machines with old Git
+ # installations. To use `simple` instead, add this to your `~/.extra` file:
+ # `git config --global push.default simple`. See http://git.io/mMah-w.
+ default = matching
+ # Make `git push` push relevant annotated tags when pushing branches out.
+ followTags = true
# URL shorthands
[url "git@github.com:"]
- insteadOf = "gh:"
- pushInsteadOf = "github:"
- pushInsteadOf = "git://github.com/"
+ insteadOf = "gh:"
+ pushInsteadOf = "github:"
+ pushInsteadOf = "git://github.com/"
[url "git://github.com/"]
- insteadOf = "github:"
+ insteadOf = "github:"
[url "git@gist.github.com:"]
- insteadOf = "gst:"
- pushInsteadOf = "gist:"
- pushInsteadOf = "git://gist.github.com/"
+ insteadOf = "gst:"
+ pushInsteadOf = "gist:"
+ pushInsteadOf = "git://gist.github.com/"
[url "git://gist.github.com/"]
- insteadOf = "gist:"
+ insteadOf = "gist:"
diff --git a/.vim/colors/solarized.vim b/.vim/colors/solarized.vim
index ee46b1715..6f25127e6 100644
--- a/.vim/colors/solarized.vim
+++ b/.vim/colors/solarized.vim
@@ -79,43 +79,43 @@
" Other options are detailed below.
"
" IMPORTANT NOTE FOR TERMINAL USERS:
-"
-" If you are going to use Solarized in Terminal mode (i.e. not in a GUI version
-" like gvim or macvim), **please please please** consider setting your terminal
-" emulator's colorscheme to used the Solarized palette. I've included palettes
-" for some popular terminal emulator as well as Xdefaults in the official
-" Solarized download available from [Solarized homepage]. If you use
+"
+" If you are going to use Solarized in Terminal mode (i.e. not in a GUI version
+" like gvim or macvim), **please please please** consider setting your terminal
+" emulator's colorscheme to used the Solarized palette. I've included palettes
+" for some popular terminal emulator as well as Xdefaults in the official
+" Solarized download available from [Solarized homepage]. If you use
" Solarized *without* these colors, Solarized will need to be told to degrade
-" its colorscheme to a set compatible with the limited 256 terminal palette
-" (whereas by using the terminal's 16 ansi color values, you can set the
+" its colorscheme to a set compatible with the limited 256 terminal palette
+" (whereas by using the terminal's 16 ansi color values, you can set the
" correct, specific values for the Solarized palette).
-"
-" If you do use the custom terminal colors, solarized.vim should work out of
-" the box for you. If you are using a terminal emulator that supports 256
-" colors and don't want to use the custom Solarized terminal colors, you will
-" need to use the degraded 256 colorscheme. To do so, simply add the following
+"
+" If you do use the custom terminal colors, solarized.vim should work out of
+" the box for you. If you are using a terminal emulator that supports 256
+" colors and don't want to use the custom Solarized terminal colors, you will
+" need to use the degraded 256 colorscheme. To do so, simply add the following
" line *before* the `colorschem solarized` line:
-"
+"
" let g:solarized_termcolors=256
-"
-" Again, I recommend just changing your terminal colors to Solarized values
+"
+" Again, I recommend just changing your terminal colors to Solarized values
" either manually or via one of the many terminal schemes available for import.
"
" ---------------------------------------------------------------------
" TOGGLE BACKGROUND FUNCTION:
" ---------------------------------------------------------------------
-"
-" Solarized comes with a Toggle Background plugin that by default will map to
-" if that mapping is available. If it is not available you will need to
-" either map the function manually or change your current mapping to
-" something else. If you wish to map the function manually, enter the following
+"
+" Solarized comes with a Toggle Background plugin that by default will map to
+" if that mapping is available. If it is not available you will need to
+" either map the function manually or change your current mapping to
+" something else. If you wish to map the function manually, enter the following
" lines in your .vimrc:
-"
+"
" nmap ToggleBackground
" imap ToggleBackground
" vmap ToggleBackground
-"
-" Note that it is important to *not* use the noremap map variants. The plugin
+"
+" Note that it is important to *not* use the noremap map variants. The plugin
" uses noremap internally. You may run `:help togglebg` for more information.
"
" ---------------------------------------------------------------------
@@ -165,8 +165,8 @@
" Solarized will use the default (transparent) background of the terminal
" emulator. *urxvt* required this in my testing; iTerm2 did not.
"
-" Note that on Mac OS X Terminal.app, solarized_termtrans is set to 1 by
-" default as this is almost always the best option. The only exception to this
+" Note that on Mac OS X Terminal.app, solarized_termtrans is set to 1 by
+" default as this is almost always the best option. The only exception to this
" is if the working terminfo file supports 256 colors (xterm-256color).
"
" ------------------------------------------------
@@ -198,8 +198,8 @@
" ------------------------------------------------
" g:solarized_visibility = "normal"| "high" or "low"
" ------------------------------------------------
-" Special characters such as trailing whitespace, tabs, newlines, when
-" displayed using ":set list" can be set to one of three levels depending on
+" Special characters such as trailing whitespace, tabs, newlines, when
+" displayed using ":set list" can be set to one of three levels depending on
" your needs.
"
" ---------------------------------------------------------------------
@@ -925,19 +925,19 @@ hi! link pandocMetadataTitle pandocMetadata
"}}}
" Utility autocommand "{{{
" ---------------------------------------------------------------------
-" In cases where Solarized is initialized inside a terminal vim session and
-" then transferred to a gui session via the command `:gui`, the gui vim process
-" does not re-read the colorscheme (or .vimrc for that matter) so any `has_gui`
+" In cases where Solarized is initialized inside a terminal vim session and
+" then transferred to a gui session via the command `:gui`, the gui vim process
+" does not re-read the colorscheme (or .vimrc for that matter) so any `has_gui`
" related code that sets gui specific values isn't executed.
"
-" Currently, Solarized sets only the cterm or gui values for the colorscheme
-" depending on gui or terminal mode. It's possible that, if the following
-" autocommand method is deemed excessively poor form, that approach will be
+" Currently, Solarized sets only the cterm or gui values for the colorscheme
+" depending on gui or terminal mode. It's possible that, if the following
+" autocommand method is deemed excessively poor form, that approach will be
" used again and the autocommand below will be dropped.
"
-" However it seems relatively benign in this case to include the autocommand
-" here. It fires only in cases where vim is transferring from terminal to gui
-" mode (detected with the script scope s:vmode variable). It also allows for
+" However it seems relatively benign in this case to include the autocommand
+" here. It fires only in cases where vim is transferring from terminal to gui
+" mode (detected with the script scope s:vmode variable). It also allows for
" other potential terminal customizations that might make gui mode suboptimal.
"
autocmd GUIEnter * if (s:vmode != "gui") | exe "colorscheme " . g:colors_name | endif
diff --git a/.vim/syntax/json.vim b/.vim/syntax/json.vim
index 1e7761a79..1ecd8fb5f 100644
--- a/.vim/syntax/json.vim
+++ b/.vim/syntax/json.vim
@@ -10,12 +10,12 @@
" For version 6.x: Quit when a syntax file was already loaded
if !exists("main_syntax")
- if version < 600
- syntax clear
- elseif exists("b:current_syntax")
- finish
- endif
- let main_syntax = 'json'
+ if version < 600
+ syntax clear
+ elseif exists("b:current_syntax")
+ finish
+ endif
+ let main_syntax = 'json'
endif
" Syntax: Strings {{{2
@@ -70,5 +70,5 @@ endif
let b:current_syntax = "json"
if main_syntax == 'json'
- unlet main_syntax
+ unlet main_syntax
endif
diff --git a/.vimrc b/.vimrc
index 25cf0d526..3273dd225 100644
--- a/.vimrc
+++ b/.vimrc
@@ -28,7 +28,7 @@ set noeol
set backupdir=~/.vim/backups
set directory=~/.vim/swaps
if exists("&undodir")
- set undodir=~/.vim/undo
+ set undodir=~/.vim/undo
endif
" Don’t create backups when editing files in certain directories
@@ -77,19 +77,19 @@ set title
set showcmd
" Use relative line numbers
if exists("&relativenumber")
- set relativenumber
- au BufReadPost * set relativenumber
+ set relativenumber
+ au BufReadPost * set relativenumber
endif
" Start scrolling three lines before the horizontal window border
set scrolloff=3
" Strip trailing whitespace (,ss)
function! StripWhitespace()
- let save_cursor = getpos(".")
- let old_query = getreg('/')
- :%s/\s\+$//e
- call setpos('.', save_cursor)
- call setreg('/', old_query)
+ let save_cursor = getpos(".")
+ let old_query = getreg('/')
+ :%s/\s\+$//e
+ call setpos('.', save_cursor)
+ call setreg('/', old_query)
endfunction
noremap ss :call StripWhitespace()
" Save a file as root (,W)
@@ -97,10 +97,10 @@ noremap W :w !sudo tee % > /dev/null
" Automatic commands
if has("autocmd")
- " Enable file type detection
- filetype on
- " Treat .json files as .js
- autocmd BufNewFile,BufRead *.json setfiletype json syntax=javascript
- " Treat .md files as Markdown
- autocmd BufNewFile,BufRead *.md setlocal filetype=markdown
+ " Enable file type detection
+ filetype on
+ " Treat .json files as .js
+ autocmd BufNewFile,BufRead *.json setfiletype json syntax=javascript
+ " Treat .md files as Markdown
+ autocmd BufNewFile,BufRead *.md setlocal filetype=markdown
endif
diff --git a/bootstrap.sh b/bootstrap.sh
index e7b0f07e2..0fa4c12f1 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -5,18 +5,18 @@ cd "$(dirname "${BASH_SOURCE}")";
git pull origin master;
function doIt() {
- rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" \
- --exclude "README.md" --exclude "LICENSE-MIT.txt" -avh --no-perms . ~;
- source ~/.bash_profile;
+ rsync --exclude ".git/" --exclude ".DS_Store" --exclude "bootstrap.sh" \
+ --exclude "README.md" --exclude "LICENSE-MIT.txt" -avh --no-perms . ~;
+ source ~/.bash_profile;
}
if [ "$1" == "--force" -o "$1" == "-f" ]; then
- doIt;
+ doIt;
else
- read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1;
- echo "";
- if [[ $REPLY =~ ^[Yy]$ ]]; then
- doIt;
- fi;
+ read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1;
+ echo "";
+ if [[ $REPLY =~ ^[Yy]$ ]]; then
+ doIt;
+ fi;
fi;
unset doIt;
diff --git a/init/Solarized Dark xterm-256color.terminal b/init/Solarized Dark xterm-256color.terminal
index 46f179d6c..ed7a29008 100644
--- a/init/Solarized Dark xterm-256color.terminal
+++ b/init/Solarized Dark xterm-256color.terminal
@@ -2,159 +2,159 @@
- BackgroundColor
-
- YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
- AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECgw
- LjAxNTkyNDQwNTMxIDAuMTI2NTIwOTE2OCAwLjE1OTY5NjAxMjcAEAGAAtIQERITWiRj
- bGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVjdF8QD05TS2V5ZWRBcmNo
- aXZlctEXGFRyb290gAEIERojLTI3O0FITltijY+RlqGqsrW+0NPYAAAAAAAAAQEAAAAA
- AAAAGQAAAAAAAAAAAAAAAAAAANo=
-
- BlinkText
-
- CursorColor
-
- YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
- AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw
- LjQ0MDU4MDI0ODggMC41MDk2MjkzMDkyIDAuNTE2ODU3OTgxNwAQAYAC0hAREhNaJGNs
- YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
- dmVy0RcYVHJvb3SAAQgRGiMtMjc7QUhOW2KMjpCVoKmxtL3P0tcAAAAAAAABAQAAAAAA
- AAAZAAAAAAAAAAAAAAAAAAAA2Q==
-
- Font
-
- YnBsaXN0MDDUAQIDBAUGGBlYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
- AAGGoKQHCBESVSRudWxs1AkKCwwNDg8QVk5TU2l6ZVhOU2ZGbGFnc1ZOU05hbWVWJGNs
- YXNzI0AqAAAAAAAAEBCAAoADXU1lbmxvLVJlZ3VsYXLSExQVFlokY2xhc3NuYW1lWCRj
- bGFzc2VzVk5TRm9udKIVF1hOU09iamVjdF8QD05TS2V5ZWRBcmNoaXZlctEaG1Ryb290
- gAEIERojLTI3PEJLUltiaXJ0dniGi5afpqmyxMfMAAAAAAAAAQEAAAAAAAAAHAAAAAAA
- AAAAAAAAAAAAAM4=
-
- FontAntialias
-
- FontHeightSpacing
- 1.1000000000000001
- FontWidthSpacing
- 1
- ProfileCurrentVersion
- 2.02
- SelectionColor
-
- YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
- AAGGoKMHCA9VJG51bGzTCQoLDA0OVU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AAAZAAAAAAAAAAAAAAAAAAAA2Q==
-
- UseBrightBold
-
- blackColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg7JNIT2DkvUjPoO+F0s+AYY=
-
- blueColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmgyqcAj6DtOHsPoO+RUg/AYY=
-
- brightBlackColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg+ZzgjyDs44BPoNahyM+AYY=
-
- brightBlueColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg7yT4T6DEXcCP4POUAQ/AYY=
-
- brightCyanColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg7CIAT+Dj5oQP4N8ShA/AYY=
-
- brightGreenColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmgzyujT6DFZy2PoOYFsQ+AYY=
-
- brightMagentaColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmgxMjsj6D+uazPoNkyTc/AYY=
-
- brightRedColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmgyfkPT+D/15aPoMgl5Y9AYY=
-
- brightWhiteColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg49LfT+D0Dt1P4MGM10/AYY=
-
- brightYellowColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg1MTpj6DeHnQPoPQg+A+AYY=
-
- cyanColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg4VRFj6DfyESP4PkZwY/AYY=
-
- greenColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg9lI5j6DIYkKP4PVjKU8AYY=
-
- magentaColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg/4CRz+DBTzdPYMgzt4+AYY=
-
- name
- Solarized Dark xterm-256color
- redColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg6i7UT+DUATePYMl2hA+AYY=
-
- type
- Window Settings
- whiteColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmgzqGaj+D2tdjP4NYPUw/AYY=
-
- yellowColour
-
- BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
- ZmZmg0DAJT+DB17vPoM4Y8A8AYY=
-
+ BackgroundColor
+
+ YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
+ AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECgw
+ LjAxNTkyNDQwNTMxIDAuMTI2NTIwOTE2OCAwLjE1OTY5NjAxMjcAEAGAAtIQERITWiRj
+ bGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhO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
+ dmVy0RcYVHJvb3SAAQgRGiMtMjc7QUhOW2KMjpCVoKmxtL3P0tcAAAAAAAABAQAAAAAA
+ AAAZAAAAAAAAAAAAAAAAAAAA2Q==
+
+ UseBrightBold
+
+ blackColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg7JNIT2DkvUjPoO+F0s+AYY=
+
+ blueColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmgyqcAj6DtOHsPoO+RUg/AYY=
+
+ brightBlackColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg+ZzgjyDs44BPoNahyM+AYY=
+
+ brightBlueColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg7yT4T6DEXcCP4POUAQ/AYY=
+
+ brightCyanColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg7CIAT+Dj5oQP4N8ShA/AYY=
+
+ brightGreenColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmgzyujT6DFZy2PoOYFsQ+AYY=
+
+ brightMagentaColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmgxMjsj6D+uazPoNkyTc/AYY=
+
+ brightRedColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmgyfkPT+D/15aPoMgl5Y9AYY=
+
+ brightWhiteColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg49LfT+D0Dt1P4MGM10/AYY=
+
+ brightYellowColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg1MTpj6DeHnQPoPQg+A+AYY=
+
+ cyanColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg4VRFj6DfyESP4PkZwY/AYY=
+
+ greenColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg9lI5j6DIYkKP4PVjKU8AYY=
+
+ magentaColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg/4CRz+DBTzdPYMgzt4+AYY=
+
+ name
+ Solarized Dark xterm-256color
+ redColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg6i7UT+DUATePYMl2hA+AYY=
+
+ type
+ Window Settings
+ whiteColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmgzqGaj+D2tdjP4NYPUw/AYY=
+
+ yellowColour
+
+ BAtzdHJlYW10eXBlZIHoA4QBQISEhAdOU0NvbG9yAISECE5TT2JqZWN0AIWEAWMBhARm
+ ZmZmg0DAJT+DB17vPoM4Y8A8AYY=
+
diff --git a/init/Solarized Dark.itermcolors b/init/Solarized Dark.itermcolors
index d630a4053..330498d47 100644
--- a/init/Solarized Dark.itermcolors
+++ b/init/Solarized Dark.itermcolors
@@ -2,213 +2,213 @@
-
- Ansi 0 Color
-
- Blue Component
- 0.19370138645172119
- Green Component
- 0.15575926005840302
- Red Component
- 0.0
-
- Ansi 1 Color
-
- Blue Component
- 0.14145714044570923
- Green Component
- 0.10840655118227005
- Red Component
- 0.81926977634429932
-
- Ansi 10 Color
-
- Blue Component
- 0.38298487663269043
- Green Component
- 0.35665956139564514
- Red Component
- 0.27671992778778076
-
- Ansi 11 Color
-
- Blue Component
- 0.43850564956665039
- Green Component
- 0.40717673301696777
- Red Component
- 0.32436618208885193
-
- Ansi 12 Color
-
- Blue Component
- 0.51685798168182373
- Green Component
- 0.50962930917739868
- Red Component
- 0.44058024883270264
-
- Ansi 13 Color
-
- Blue Component
- 0.72908437252044678
- Green Component
- 0.33896297216415405
- Red Component
- 0.34798634052276611
-
- Ansi 14 Color
-
- Blue Component
- 0.56363654136657715
- Green Component
- 0.56485837697982788
- Red Component
- 0.50599193572998047
-
- Ansi 15 Color
-
- Blue Component
- 0.86405980587005615
- Green Component
- 0.95794391632080078
- Red Component
- 0.98943418264389038
-
- Ansi 2 Color
-
- Blue Component
- 0.020208755508065224
- Green Component
- 0.54115492105484009
- Red Component
- 0.44977453351020813
-
- Ansi 3 Color
-
- Blue Component
- 0.023484811186790466
- Green Component
- 0.46751424670219421
- Red Component
- 0.64746475219726562
-
- Ansi 4 Color
-
- Blue Component
- 0.78231418132781982
- Green Component
- 0.46265947818756104
- Red Component
- 0.12754884362220764
-
- Ansi 5 Color
-
- Blue Component
- 0.43516635894775391
- Green Component
- 0.10802463442087173
- Red Component
- 0.77738940715789795
-
- Ansi 6 Color
-
- Blue Component
- 0.52502274513244629
- Green Component
- 0.57082360982894897
- Red Component
- 0.14679534733295441
-
- Ansi 7 Color
-
- Blue Component
- 0.79781103134155273
- Green Component
- 0.89001238346099854
- Red Component
- 0.91611063480377197
-
- Ansi 8 Color
-
- Blue Component
- 0.15170273184776306
- Green Component
- 0.11783610284328461
- Red Component
- 0.0
-
- Ansi 9 Color
-
- Blue Component
- 0.073530435562133789
- Green Component
- 0.21325300633907318
- Red Component
- 0.74176257848739624
-
- Background Color
-
- Blue Component
- 0.15170273184776306
- Green Component
- 0.11783610284328461
- Red Component
- 0.0
-
- Bold Color
-
- Blue Component
- 0.56363654136657715
- Green Component
- 0.56485837697982788
- Red Component
- 0.50599193572998047
-
- Cursor Color
-
- Blue Component
- 0.51685798168182373
- Green Component
- 0.50962930917739868
- Red Component
- 0.44058024883270264
-
- Cursor Text Color
-
- Blue Component
- 0.19370138645172119
- Green Component
- 0.15575926005840302
- Red Component
- 0.0
-
- Foreground Color
-
- Blue Component
- 0.51685798168182373
- Green Component
- 0.50962930917739868
- Red Component
- 0.44058024883270264
-
- Selected Text Color
-
- Blue Component
- 0.56363654136657715
- Green Component
- 0.56485837697982788
- Red Component
- 0.50599193572998047
-
- Selection Color
-
- Blue Component
- 0.19370138645172119
- Green Component
- 0.15575926005840302
- Red Component
- 0.0
-
-
+
+ Ansi 0 Color
+
+ Blue Component
+ 0.19370138645172119
+ Green Component
+ 0.15575926005840302
+ Red Component
+ 0.0
+
+ Ansi 1 Color
+
+ Blue Component
+ 0.14145714044570923
+ Green Component
+ 0.10840655118227005
+ Red Component
+ 0.81926977634429932
+
+ Ansi 10 Color
+
+ Blue Component
+ 0.38298487663269043
+ Green Component
+ 0.35665956139564514
+ Red Component
+ 0.27671992778778076
+
+ Ansi 11 Color
+
+ Blue Component
+ 0.43850564956665039
+ Green Component
+ 0.40717673301696777
+ Red Component
+ 0.32436618208885193
+
+ Ansi 12 Color
+
+ Blue Component
+ 0.51685798168182373
+ Green Component
+ 0.50962930917739868
+ Red Component
+ 0.44058024883270264
+
+ Ansi 13 Color
+
+ Blue Component
+ 0.72908437252044678
+ Green Component
+ 0.33896297216415405
+ Red Component
+ 0.34798634052276611
+
+ Ansi 14 Color
+
+ Blue Component
+ 0.56363654136657715
+ Green Component
+ 0.56485837697982788
+ Red Component
+ 0.50599193572998047
+
+ Ansi 15 Color
+
+ Blue Component
+ 0.86405980587005615
+ Green Component
+ 0.95794391632080078
+ Red Component
+ 0.98943418264389038
+
+ Ansi 2 Color
+
+ Blue Component
+ 0.020208755508065224
+ Green Component
+ 0.54115492105484009
+ Red Component
+ 0.44977453351020813
+
+ Ansi 3 Color
+
+ Blue Component
+ 0.023484811186790466
+ Green Component
+ 0.46751424670219421
+ Red Component
+ 0.64746475219726562
+
+ Ansi 4 Color
+
+ Blue Component
+ 0.78231418132781982
+ Green Component
+ 0.46265947818756104
+ Red Component
+ 0.12754884362220764
+
+ Ansi 5 Color
+
+ Blue Component
+ 0.43516635894775391
+ Green Component
+ 0.10802463442087173
+ Red Component
+ 0.77738940715789795
+
+ Ansi 6 Color
+
+ Blue Component
+ 0.52502274513244629
+ Green Component
+ 0.57082360982894897
+ Red Component
+ 0.14679534733295441
+
+ Ansi 7 Color
+
+ Blue Component
+ 0.79781103134155273
+ Green Component
+ 0.89001238346099854
+ Red Component
+ 0.91611063480377197
+
+ Ansi 8 Color
+
+ Blue Component
+ 0.15170273184776306
+ Green Component
+ 0.11783610284328461
+ Red Component
+ 0.0
+
+ Ansi 9 Color
+
+ Blue Component
+ 0.073530435562133789
+ Green Component
+ 0.21325300633907318
+ Red Component
+ 0.74176257848739624
+
+ Background Color
+
+ Blue Component
+ 0.15170273184776306
+ Green Component
+ 0.11783610284328461
+ Red Component
+ 0.0
+
+ Bold Color
+
+ Blue Component
+ 0.56363654136657715
+ Green Component
+ 0.56485837697982788
+ Red Component
+ 0.50599193572998047
+
+ Cursor Color
+
+ Blue Component
+ 0.51685798168182373
+ Green Component
+ 0.50962930917739868
+ Red Component
+ 0.44058024883270264
+
+ Cursor Text Color
+
+ Blue Component
+ 0.19370138645172119
+ Green Component
+ 0.15575926005840302
+ Red Component
+ 0.0
+
+ Foreground Color
+
+ Blue Component
+ 0.51685798168182373
+ Green Component
+ 0.50962930917739868
+ Red Component
+ 0.44058024883270264
+
+ Selected Text Color
+
+ Blue Component
+ 0.56363654136657715
+ Green Component
+ 0.56485837697982788
+ Red Component
+ 0.50599193572998047
+
+ Selection Color
+
+ Blue Component
+ 0.19370138645172119
+ Green Component
+ 0.15575926005840302
+ Red Component
+ 0.0
+
+