diff --git a/.zshrc b/.zshrc index 5da40b0..d893432 100644 --- a/.zshrc +++ b/.zshrc @@ -43,8 +43,17 @@ precmd() { echo -ne "\e]2;${HOST}:${tab_label}\a" } +# source banner +. ~/.banner + # Report CPU usage for commands running longer than 1 second -REPORTTIME=1 +REPORTTIME=0 + +# Report Memory usage for commands running longer than 1 second +REPORTMEMORY=0 + +# Format reports +TIMEFMT="%J %U user %S system %P cpu %*E total, %X kB text space %D kB data/stack memory %M kB max. %K kB total, %O iops %I oops, %w waits %c ctx switches" # Dirstack DIRSTACKSIZE=20 @@ -53,9 +62,6 @@ DIRSTACKSIZE=20 GPG_TTY=$(tty) export GPG_TTY -# source banner -. ~/.banner - # source fzf if [ -e "/usr/share/doc/fzf/examples/key-bindings.zsh" ] ; then . /usr/share/doc/fzf/examples/key-bindings.zsh