summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2012-11-28 10:17:41 +0100
committerGravatar Tom Willemsen2012-11-28 10:17:41 +0100
commit1ccf9858e76e95e7ffea56c6e88685b4418d9c78 (patch)
treebb6df565bb4fc9cfc0e0d0b1ffbc5c34b3e5bbe4
parentccef0f92bce8242e19f9e149edcdb324fa605405 (diff)
downloaddotfiles-1ccf9858e76e95e7ffea56c6e88685b4418d9c78.tar.gz
dotfiles-1ccf9858e76e95e7ffea56c6e88685b4418d9c78.zip
.zsh/functions/preexec_update_vars
-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