Nowadays, the default method of sorting in fzf when pressing Ctrl+r is by relevance and not chronological order (c387689). If the user wishes to see the commands in chronological order they must either press Ctrl+r again or add --no-sort to FZF_CTRL_R_OPTS.
The function Invoke-FzfPsReadlineHandlerHistory() currently passes the -NoSort argument whenever it is called, thus making fzf always sort by chronological order, even if we add --sort to FZF_CTRL_R_OPTS. I propose this argument should be removed, letting the user decide, by adding or not --no-sort to FZF_CTRL_R_OPTS, how they wish to order their results and making PSFzf's default behavior equal to fzf's.
Nowadays, the default method of sorting in fzf when pressing Ctrl+r is by relevance and not chronological order (c387689). If the user wishes to see the commands in chronological order they must either press Ctrl+r again or add
--no-sort
toFZF_CTRL_R_OPTS
.The function
Invoke-FzfPsReadlineHandlerHistory()
currently passes the-NoSort
argument whenever it is called, thus making fzf always sort by chronological order, even if we add--sort
toFZF_CTRL_R_OPTS
. I propose this argument should be removed, letting the user decide, by adding or not--no-sort
toFZF_CTRL_R_OPTS
, how they wish to order their results and making PSFzf's default behavior equal to fzf's.