summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh/functions/preexec_update_vars3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zsh/functions/preexec_update_vars b/.zsh/functions/preexec_update_vars
index 105d240..f8c1b44 100644
--- a/.zsh/functions/preexec_update_vars
+++ b/.zsh/functions/preexec_update_vars
@@ -11,3 +11,6 @@ case "$1" in
__EXECUTED_PACMAN_COMMAND=1
;;
esac
+
+__COMMAND_EXEC_TIME=$(date +%s)
+__COMMAND_EXECUTING=1