summaryrefslogtreecommitdiffhomepage
path: root/tests/linux/i-bind.exp
blob: 2361fe469c3efc12cd8fc28e8cda677fd33cc127 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$ bind -l | grep -c up-history
1
$ bind '^['=accept-line
$ echo BOUND
BOUND
$ bind '^[[2~'=up-history
$ echo AAA
AAA
$ echo AAA
AAA
$ bind '^[[2~'=nosuch
SHELL: bind: nosuch: no such editing command
$ bind -m '^X'=macro
SHELL: bind: -m: macros are not supported
$ echo STILL-OK
STILL-OK
$ exit
[status 0]