Check dir exists before listing (shared homedir). Use cd_func to add to stack.
More flexible editor selection