legacy-dotfiles/zsh/functions/preexec_update_vars
2014-07-01 22:53:27 +02:00

16 lines
276 B
Bash

# -*- 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