z (https://github.com/rupa/z) wasn't working for me, so I made my own