Files
inshellisense/shell/key-bindings.bash
T
Chapman Pendery 376bbea088 fix: clear readline for bash
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
2023-10-07 21:18:44 -07:00

7 lines
123 B
Bash

__sa__() {
sa -c "$READLINE_LINE" -s bash
history -s $(sa --history)
READLINE_LINE=
}
bind -x '"\C-a": __sa__'