X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=2d8680eceda8708a2e8f7224734a351ec86313b2;hb=3c12563be13872d42cd9336c2f47cab6ec29f555;hp=c1ee1d4aa2236ec8f3306fd230eb14b55336640f;hpb=37a28c07c5752711e5d1f4686a2b3f17d62ce3b7;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index c1ee1d4..2d8680e 100644 --- a/zsh/rc +++ b/zsh/rc @@ -344,6 +344,11 @@ zshrc_longrun_preexec() { zshrc_resolve_fg_to_resumed_job_name $program program=$REPLY + # No background process found. + if [[ -z $program ]]; then + return + fi + # Don't track the time for certain (possible) long running processes which # need no automatic notification. for ignore in elinks man mutt vim; do