Commit Graph

2 Commits (7d901b11b6683c5a286e06116ff24c1a4b431840)

Author SHA1 Message Date
Yuhao Wu af96da5d11 Fix bug: themes break global $PROMPT_COMMAND variable
Safely append functions to $PROMPT_COMMAND instead of setting it.
2016-07-07 17:13:00 +09:00
Nils Winkler 460382a4e1 Added custom bash prompt, based on the 'my' theme.
This colors the arrow at the start of the second line based on the exit
code of the last command: green for 0, red for non-zero

This functionality currently fails when the 'fasd' plugin is enabled,
since it is messing with the PROMPT_COMMAND function.
2013-11-07 14:08:42 +01:00