Unable to find all recent commands.
Unable to find all recent commands.
Some recently ran commands do not show up in mcfly at all.
Also the list of suggested commands is quite short.
In my case it would also be useful to retrieve a command that was executed in a different working directory.
By any occasion you happen to override PROMPT_COMMAND in your user's Bash initialization scripts, like .bash_profile or .bashrc? If that is the case, then see https://github.com/cantino/mcfly/issues/45#issuecomment-462232840 for a solution.
"All" was a mistake. Some commands show up, but not all of them.
echo $PROMPT_COMMAND
mcfly_prompt_command;_update_ps1; __vte_prompt_command
They don't show up even if you search for an exact substring? It's possible they had non-zero return codes and are being deprioritized, but they should still be in the database.
@ghuls ^