Remove code setting colors to empty string in else branch, as it
turns out if they do not exist instead of erroring out, the script
will simply not add the strings.
Uses git rev-parse to determine how far ahead or behind we are
from the upstream branch, with + denoting # of commits that do not
appear on the upstream, and - denoting # commits that do not appear
on the local branch.
If the branch does not have an upstream, or if the repository is on
its initial commit, the ahead/behind determination works as desired.
Missing certain functionality like determining how far ahead or
behind a certain commit is from upstream, and performs really
badly, but uses a nice format syntax and provides a decent start.
For some reason, moving the declaration of the prompt command to
the bottom of the file fixes an issue where exit codes weren't
properly captured in the function, so error codes never displayed.
Now informs the user when the file has finished installing.
Also creates better temp-file name so, if the program is running in
multiple terminals, it doesn't interfere with other web-install'd
files.
Change dotfile source order so I can use aliases (like `alert`)
inside of functions.
System contains individual components of the bashrc, which sources
them in the specified order.
Bash profile simply sources bashrc so they have identical values.