legacy-dotfiles/zsh/.zsh/functions/preexec_update_vars

17 lines
276 B
Text
Raw Permalink Normal View History

2014-07-01 22:53:27 +02:00
# -*- mode: shell-script -*-
case "$1" in
git*)
__EXECUTED_GIT_COMMAND=1
;;
cower*)
__EXECUTED_COWER_COMMAND=1
;;
*pacman*)
__EXECUTED_PACMAN_COMMAND=1
;;
esac
__COMMAND_EXEC_TIME=$(date +%s)
__COMMAND_EXECUTING=1