fix(fossil): PROMPT and RPROMPT are no longer exported (#9655)

Fixes #9654
This commit is contained in:
wahjava 2021-03-16 03:57:57 +05:30 committed by GitHub
parent 0e232d4853
commit e5d206c8c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,9 +73,9 @@ function _fossil_prompt () {
local is_prompt=`echo $PROMPT | grep git` local is_prompt=`echo $PROMPT | grep git`
if [ "$is_prompt" = "" ]; then if [ "$is_prompt" = "" ]; then
export RPROMPT="$_rprompt"'$(fossil_prompt_info)' RPROMPT="$_rprompt"'$(fossil_prompt_info)'
else else
export PROMPT="$_prompt"'$(fossil_prompt_info) ' PROMPT="$_prompt"'$(fossil_prompt_info) '
fi fi
_FOSSIL_PROMPT="1" _FOSSIL_PROMPT="1"