ZSH_VERSION isn't guarenteed to be a float (5.1.1). In this case, it should be safe to just strip it to a float: 5.1(.1) closes issue #3