>> My zsh version is 5.8 (x86_64-pc-linux-gnu) Ah, my apologies ... I'm using the edit-command-line function from the latest git checkout. It works fine in 5.8, grab it and drop it somewhere early in your $fpath.