#
# This file is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This file is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# If the shell just started up or we changed directories (or for other
# custom reasons) we must run vcs_info.
# If the shell just started up or we changed directories (or for other
# custom reasons) we must run vcs_info.
# Display runtime in seconds for long running programs (> 60 seconds) and send
# a bell to notify me.
zshrc_longrun_preexec() {
# Display runtime in seconds for long running programs (> 60 seconds) and send
# a bell to notify me.
zshrc_longrun_preexec() {
# Don't track the time for certain (possible) long running processes which
# need no automatic notification.
# Don't track the time for certain (possible) long running processes which
# need no automatic notification.
local directory="${yellow}%WIDTH<..<%~%<<${default}"
# Minimal information about the VCS, only displayed if there are
# unstaged/staged changes.
local directory="${yellow}%WIDTH<..<%~%<<${default}"
# Minimal information about the VCS, only displayed if there are
# unstaged/staged changes.
# Current time (seconds since epoch) in Hex in bright blue.
local seconds="${blue}%B0x$(([##16] EPOCHSECONDS))%b${default}"
# Current time (seconds since epoch) in Hex in bright blue.
local seconds="${blue}%B0x$(([##16] EPOCHSECONDS))%b${default}"