I don’t know how I enabled this feature before, but I found it incredibly useful for someone who primarily works in the terminal.
It displays the history of commands based on my inputs, allowing me to select them quickly. Now, I have no way to enable this table again… I’ve already searched on Google for this feature, but I don’t see anyone mentioning it…
2
Answers
using this command in terminal can show you the history of commands
maybe you can find the whole history in your .zsh_history or .bash_history?
if you can’t display the history of commands by using this command,you may need reset the bash config file.
like ~/.zshrc includes
reload file:
The screenshot looks like Oh My Posh with PSReadLine installed. You can configure the history and autocompletion in your PowerShell profile (type
$profile
to show the path, or directly open it withcode $profile
if you have e.g. VSCode in your $PATH):