diff options
author | tjr <tjr@FreeBSD.org> | 2002-07-23 11:50:53 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-07-23 11:50:53 +0000 |
commit | f9fd5faa32d9a7f2b556f323090c9b6f2489ab61 (patch) | |
tree | 30084fb3c5e19f62d3064bce8b107128e70ca226 /bin/sh/sh.1 | |
parent | 1419e21345a70f2237a1608b56aaa25d89e8c496 (diff) | |
download | FreeBSD-src-f9fd5faa32d9a7f2b556f323090c9b6f2489ab61.zip FreeBSD-src-f9fd5faa32d9a7f2b556f323090c9b6f2489ab61.tar.gz |
Add a `bind' builtin command, which is simply a wrapper around libedit's
builtin command of the same name. This allows the key bindings for the
shell's line editor to be changed.
MFC after: 2 weeks
Diffstat (limited to 'bin/sh/sh.1')
-rw-r--r-- | bin/sh/sh.1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/sh/sh.1 b/bin/sh/sh.1 index 369b5f3..38410d0 100644 --- a/bin/sh/sh.1 +++ b/bin/sh/sh.1 @@ -1279,6 +1279,10 @@ Execute the specified builtin command, .Ar cmd . This is useful when the user wishes to override a shell function with the same name as a builtin command. +.It Ic bind Oo Fl aeklrsv Oc Oo Ar key Oo Ar command Oc Oc +List or alter key bindings for the line editor. +This command is documented in +.Xr editrc 5 . .It Ic cd Oo Fl LP Oc Op Ar directory Switch to the specified .Ar directory , |