Thursday, 18 July 2019

readline with bash's read -e

Want to use bash's read -e for full editing and readline support, but without bash completion or exposing the bash history?

bind -f /dev/stdin <<<"set disable-completion on"
HISTSIZE=0 HISTIGNORE="*" HISTFILE=/dev/null read -e ...

1 comment:

  1. I went over this internet site and I think you have a lot of great info , saved to favorites.
    배트맨토토

    ReplyDelete