- 论坛徽章:
- 39
|
回复 2# prcardin
目测 bash里的set 是没有 -l 这个选项的,你看到的man 应该是 bind 的 -l- bind readline-command
- Display current readline key and function bindings, bind a key sequence to a readline function or macro, or set a readline variable. Each non-option argument is a command as it would appear in
- .inputrc, but each binding or command must be passed as a separate argument; e.g., ’"\C-x\C-r": re-read-init-file’. Options, if supplied, have the following meanings:
- -m keymap
- Use keymap as the keymap to be affected by the subsequent bindings. Acceptable keymap names are emacs, emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move, vi-command, and vi-insert. vi is
- equivalent to vi-command; emacs is equivalent to emacs-standard.
- -l List the names of all readline functions.
- -p Display readline function names and bindings in such a way that they can be re-read.
复制代码 |
|