1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 02:18:00 +00:00

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 { 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 {