Only try to run python-info if it exists for the paradox prompt

This commit is contained in:
Kaleb Elwert 2017-04-11 15:12:09 -07:00
parent ee249e50ee
commit b963484fe7

View file

@ -107,7 +107,9 @@ function prompt_paradox_precmd {
function prompt_paradox_preexec {
_prompt_paradox_start_time="$SECONDS"
python-info
if (( $+functions[python-info] )); then
python-info
fi
}
function prompt_paradox_setup {