parent
d2cb19fed8
commit
ecb1adcd48
@ -1796,9 +1796,9 @@ prompt_off()
|
|||||||
{
|
{
|
||||||
PS1=$LP_OLD_PS1
|
PS1=$LP_OLD_PS1
|
||||||
if $_LP_SHELL_bash; then
|
if $_LP_SHELL_bash; then
|
||||||
PROMPT_COMMAND=$LP_OLD_PROMPT_COMMAND
|
PROMPT_COMMAND="$LP_OLD_PROMPT_COMMAND"
|
||||||
else # zsh
|
else # zsh
|
||||||
precmd=$LP_OLD_PROMPT_COMMAND
|
precmd="$LP_OLD_PROMPT_COMMAND"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1807,9 +1807,9 @@ prompt_OFF()
|
|||||||
{
|
{
|
||||||
PS1="\$ "
|
PS1="\$ "
|
||||||
if $_LP_SHELL_bash; then
|
if $_LP_SHELL_bash; then
|
||||||
PROMPT_COMMAND=$LP_OLD_PROMPT_COMMAND
|
PROMPT_COMMAND="$LP_OLD_PROMPT_COMMAND"
|
||||||
else # zsh
|
else # zsh
|
||||||
precmd=$LP_OLD_PROMPT_COMMAND
|
precmd="$LP_OLD_PROMPT_COMMAND"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user