Custom Stash Commands

You can run custom commands before and after the stash is mounted or unmounted.
The commands are run through bash, which means that you can also put small pieces of shell code inside.
If the command returns a value other than 0 before mounting or unmounting, the action will be aborted.