Modified _lp_reset_runtime

This commit is contained in:
Austen Adler 2015-03-29 00:41:44 -04:00
parent 65c428525d
commit 2ecab18181

View File

@ -1351,7 +1351,10 @@ fi
_lp_reset_runtime()
{
if $_LP_SHELL_bash; then
if $_LP_SHELL_zsh; then
return
fi
# Compute number of seconds since program was started
_LP_RUNTIME_SECONDS=$((SECONDS - _LP_RUNTIME_LAST_SECONDS))
@ -1362,7 +1365,6 @@ _lp_reset_runtime()
# A proper command has been executed if the last command was not related to Liquid Prompt
[ "$BASH_COMMAND" = _lp_set_prompt ]
_LP_RUNTIME_COMMAND_EXECUTED=$?
fi
}
if [ "$LP_ENABLE_RUNTIME" = 1 ]