mcfly icon indicating copy to clipboard operation
mcfly copied to clipboard

Unable to find all recent commands.

Open ghuls opened this issue 6 years ago • 4 comments

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.

ghuls avatar Mar 06 '19 17:03 ghuls

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.

aik099 avatar Mar 06 '19 17:03 aik099

"All" was a mistake. Some commands show up, but not all of them.

echo $PROMPT_COMMAND 
mcfly_prompt_command;_update_ps1; __vte_prompt_command

ghuls avatar Mar 06 '19 18:03 ghuls

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.

cantino avatar Mar 16 '19 17:03 cantino

@ghuls ^

cantino avatar May 13 '19 15:05 cantino