legacy-dotfiles/.zsh/functions/preexec_update_vars

17 lines
276 B
Text
Raw Normal View History

# -*- mode: shell-script -*-
case "$1" in
git*)
__EXECUTED_GIT_COMMAND=1
;;
cower*)
__EXECUTED_COWER_COMMAND=1
;;
*pacman*)
__EXECUTED_PACMAN_COMMAND=1
;;
esac
2012-11-28 10:17:41 +01:00
__COMMAND_EXEC_TIME=$(date +%s)
__COMMAND_EXECUTING=1