Page MenuHomeFreeBSD

[WIP] sh: implement "edit-and-execute-command"
AbandonedPublic

Authored by pstef on Nov 6 2021, 11:38 AM.

Details

Reviewers
jilles
Summary

With emacs bindings, ^X^E will open up an editor for command input. Write and close to execute. Similarly to the fc builtin.

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pstef requested review of this revision.Nov 6 2021, 11:38 AM
pstef created this revision.

As pointed out by bapt, el_set(el, EL_BIND, "^X^E", "vi-histedit", NULL); is enough.