mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-08-18 10:39:58 +02:00
fix(fossil): PROMPT and RPROMPT are no longer exported (#9655)
Fixes #9654
This commit is contained in:
@@ -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"
|
||||||
|
Reference in New Issue
Block a user