$historywords
–
Words Stored in The History
$historywords
contains the words stored in the history, sorted by most recent to least recently used word.
Links
BashSupport Pro is a Zsh IDE with support for $historywords – try it now!