Use zsh's builtin history expansion modifiers `:t` to get the basename of the block device.
autoload/