mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 21:58:00 +00:00
Only try to run python-info if it exists for the paradox prompt
This commit is contained in:
parent
ee249e50ee
commit
b963484fe7
@ -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"
|
||||||
|
if (( $+functions[python-info] )); then
|
||||||
python-info
|
python-info
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function prompt_paradox_setup {
|
function prompt_paradox_setup {
|
||||||
|
Loading…
Reference in New Issue
Block a user