Support for advanced usage in custom message

For example
export BULLETTRAIN_CUSTOM_MSG=\$SOME_ENV_I_WANT_TO_SHOW
export BULLETTRAIN_CUSTOM_MSG=\`some command I want to run\`
This commit is contained in:
Sen Jiang
2016-05-11 15:51:48 -07:00
committed by JayXon
parent 8fb4709cbf
commit 47a5753381
2 changed files with 4 additions and 2 deletions

View File

@@ -158,7 +158,7 @@ more details.
|Variable|Default|Meaning
|--------|-------|-------|
|`BULLETTRAIN_CUSTOM_MSG`|`false`|Free segment you can put a custom message
|`BULLETTRAIN_CUSTOM_MSG`|`false`|Free segment you can put a custom message which will be eval'ed for every prompt
|`BULLETTRAIN_CUSTOM_BG`|`black`|Background color
|`BULLETTRAIN_CUSTOM_FG`|`black`|Foreground color