I've found an interesting paper: Predicting UNIX Command Lines about command-line prediction (based on user past activity), and I wonder if any actual implementation of such thing exists?
Zsh comes with the
To try it out:
And use Ctrl-Z to turn on or off.
I've successfully used fish-shell.