Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 2 questions of completion
- X-seq: zsh-users 16835
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: 2 questions of completion
- Date: Sun, 04 Mar 2012 16:28:40 -0800
- In-reply-to: <20120304225513.GA3986@pierre.localdomain>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20120304144841.GB2090@pierre.localdomain> <120304111338.ZM24681@torch.brasslantern.com> <20120304225513.GA3986@pierre.localdomain>
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