Is it possible to be able to enter foo and have bash automatically convert it to time foo && notify-send "PLAYBOOK COMPLETE"?
I'd specifically like this to apply only to ansible-playbook commands (for those not familiar with Ansible, any number of options, arguments etc. might follow ansible-playbook so a simple alias probably won't do the trick) so that I get notified when a long playbook has finished.
A command before every bash command looked promising, but unfortunately didn't work correctly for me.