Only try to run python-info if it exists for the paradox prompt
This commit is contained in:
parent
ee249e50ee
commit
b963484fe7
1 changed files with 3 additions and 1 deletions
|
@ -107,7 +107,9 @@ function prompt_paradox_precmd {
|
||||||
|
|
||||||
function prompt_paradox_preexec {
|
function prompt_paradox_preexec {
|
||||||
_prompt_paradox_start_time="$SECONDS"
|
_prompt_paradox_start_time="$SECONDS"
|
||||||
python-info
|
if (( $+functions[python-info] )); then
|
||||||
|
python-info
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function prompt_paradox_setup {
|
function prompt_paradox_setup {
|
||||||
|
|
Loading…
Add table
Reference in a new issue