|
|
@ -8,6 +8,7 @@ |
|
|
|
# Isaac Wolkerstorfer <i@agnoster.net> |
|
|
|
# Isaac Wolkerstorfer <i@agnoster.net> |
|
|
|
# Jeff Sandberg <paradox460@gmail.com> |
|
|
|
# Jeff Sandberg <paradox460@gmail.com> |
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com> |
|
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com> |
|
|
|
|
|
|
|
# Patrick Bos <egpbos@gmail.com> |
|
|
|
# |
|
|
|
# |
|
|
|
# Screenshots: |
|
|
|
# Screenshots: |
|
|
|
# http://i.imgur.com/0XIWX.png |
|
|
|
# http://i.imgur.com/0XIWX.png |
|
|
@ -90,15 +91,17 @@ function prompt_paradox_precmd { |
|
|
|
git-info |
|
|
|
git-info |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Get Python environment information. |
|
|
|
|
|
|
|
if (( $+functions[python-info] )); then |
|
|
|
|
|
|
|
python-info |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# Calculate and print the elapsed time. |
|
|
|
# Calculate and print the elapsed time. |
|
|
|
prompt_paradox_print_elapsed_time |
|
|
|
prompt_paradox_print_elapsed_time |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function prompt_paradox_setup { |
|
|
|
function prompt_paradox_setup { |
|
|
|