Em sex, 2 de nov de 2018 às 19:06, <li...@wrant.com> escreveu: > > I use these bindings and history control options in the $HOME/.profile: > > bind -m '^L'=^U\ clear'^J^Y' > bind -m '^[^L'=^U\ reset\;clear'^J^Y' > export HISTCONTROL=ignoredups:ignorespace >
Since June 18 [1] there's a new clear-screen editing command that we can bind accordingly: bind ^L=clear-screen It's been working like a charm. [1]: https://cvsweb.openbsd.org/src/bin/ksh/ksh.1#rev1.201 Yours, Diogo