Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 2 questions of completion



On Mar 4, 11:55pm, Ranousse wrote:
}
} > first press of backward-delete-char is deleting the auto-appended space
} > following the completed word, which is why you seem to have to press
} > it twice.  You can see this better if you menu-select a directory, and
} > note that pressing backspace kills the trailing slash.
} 
} Ok, thank you for the answer. So if I understand right, with the default
} behaviour, the first backspace removes the trailing slash in case of
} directories, and does nothing if there's no trailing slash.

Not quite.  If what you are menu-selecting are file names, then there is
always either a trailing slash or a trailing space auto-appended.  You
just can't see the space.

So the first backspace is always removing *something*.  Sometimes it just
removes an invisible thing.



Messages sorted by: Reverse Date, Date, Thread, Author