John D Pell
569b8b8c46
theme/nwinkler: adopt automatic history
...
Use `preexec` and `$HISTCONTROL` to configure _Bash It_'s automatic history management feature.
2022-02-08 16:59:40 -08:00
John D Pell
9d656747a9
themes: remove executable bit
2021-09-11 21:25:14 -07:00
John D Pell
ffe15ebfe0
themes: use `_save-and-reload-history()`
...
First pass to use _Bash It_'s automatic history management.
2021-09-11 21:25:14 -07:00
MunifTanjim
a2a6fa2812
refactor themes to support standardized clock functions
2016-10-18 20:58:07 +06:00
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