From 6def0c67836dbdf151bcf3b9d90d8b67b45f7c90 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 9 Jul 2017 00:54:17 +0200 Subject: [PATCH] std_env: Set TIMEFMT and WATCHFMT variables --- default_plugins/std_env/std_env.zshrc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 default_plugins/std_env/std_env.zshrc diff --git a/default_plugins/std_env/std_env.zshrc b/default_plugins/std_env/std_env.zshrc new file mode 100644 index 0000000..937e8df --- /dev/null +++ b/default_plugins/std_env/std_env.zshrc @@ -0,0 +1,7 @@ +# AX-ZSH: Alex' Modular ZSH Configuration +# std_env: Setup standard environment variables + +# Note: colors aren't available in the "zprofile" stage, so we have to set +# these variables here (and therefore exporting makes no sense) ... +TIMEFMT="%J - $fg[green]%U$reset_color user; $fg[red]%S$reset_color system; $fg_bold[white]%*E$reset_color total ($fg[yellow]%P$reset_color cpu)." +WATCHFMT="$fg_bold[white]%n$reset_color has $fg_bold[white]%a$reset_color from %M (%l)." -- 2.39.2