mirror of
https://github.com/wavetermdev/inshellisense.git
synced 2026-08-05 13:43:30 -07:00
fix: clear readline for bash
Signed-off-by: Chapman Pendery <cpendery@vt.edu>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
__sa__() {
|
||||
sa -c "$READLINE_LINE" -s bash
|
||||
history -s $(sa --history)
|
||||
READLINE_LINE=
|
||||
}
|
||||
|
||||
bind -x '"\C-a": __sa__'
|
||||
Reference in New Issue
Block a user