Proposal: Add general warning to all commands if they take longer than 2s

This is a proposal for discussion, I don't mind if it is discarded.

I was thinking that something like this could help the user in the case when they start bash and it appears to be frozen, which can happen if they're on a network 
filesystem.

It introduces a warning currently when any direnv command takes longer than 2s to execute.