Breaking down PS1 into testable pieces
Basic working test is in
Testing out loading a custom standalone bashrc
Catching errors. Time to go off to the races =D
Filling out plenty of tests
Finished writing out test cases
Tried out assert from bash but failed
Adjusting not_on_git to be less confusing
Moving forward with tests. Wheee
Test not failing as expected =_=
Second guessing if not_on_git was programmer properly
Receiving annoying feedback from test.sh
So confused....
Notes from a shower. I think .bash_profile has a line that allows us to call out the normal commands from the prompt. Inspect that.
...and reproduced. mothereffer.
Finally got this working via function keyword
Alright, successful is_on_git complete
Trying to abstract common logic for DRYer tests
Corrected rushed typos and tests back to passing =D
Added some TODOs and removed unused assert.sh