fix: clear readline for bash

Signed-off-by: Chapman Pendery <cpendery@vt.edu>
This commit is contained in:
Chapman Pendery
2023-10-07 21:18:44 -07:00
parent 8713967f53
commit 376bbea088
+1
View File
@@ -1,6 +1,7 @@
__sa__() {
sa -c "$READLINE_LINE" -s bash
history -s $(sa --history)
READLINE_LINE=
}
bind -x '"\C-a": __sa__'