Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/bin/sh



In article <20110107222156.EDE9E175DF%cvs.netbsd.org@localhost>,
Julio Merino <source-changes-d%NetBSD.org@localhost> wrote:
>-=-=-=-=-=-
>
>Module Name:   src
>Committed By:  jmmv
>Date:          Fri Jan  7 22:21:56 UTC 2011
>
>Modified Files:
>       src/bin/sh: histedit.c
>
>Log Message:
>Call el_source before initializing sh-specific editline properties (i.e.
>the editor type and the tab completion binding).
>
>This allows tab completion to work when a user has an ~/.editrc file.

Err, this change is wrong. If you change now the editor to vi in your
.editrc file, then it will be ignored. You also will not be able to
bind ^I to what you want, because your change will be undone!  If
you put bind -v in your .editrc you should know to bind tab-complete
to ^I for vi too! What was there was on purpose. Revert and document
the previous behavior in the man page if you want.

christos



Home | Main Index | Thread Index | Old Index