aboutsummaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'zshrc')
-rw-r--r--zshrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/zshrc b/zshrc
index 2811ee5..02fb131 100644
--- a/zshrc
+++ b/zshrc
@@ -41,3 +41,7 @@ fi
# run after local because local because user bin should
# take absolute priority
export PATH=$HOME/bin:$PATH
+
+function preexec () {
+ echo "($fg[magenta]`date +%r`$reset_color) $fg[cyan]$3$reset_color"
+}