tmux/Command/show-prompt-history
Properties
- logseq-entity
- Logseq/Entity/CLI/Command
- see-also
- tmux/Command/Prompt
- tmux show-prompt-history [
-Tprompt-type]- Display the history of entries typed at the tmux/Command/Prompt, newest last.
- (alias:
showphist) - Without
-T, every prompt type is printed in turn, each under aHistory for <type>:heading and numbered from1. -Tlimits output to one type:command,search,target, orwindow-target. Anything else fails withinvalid type: <name>.- History belongs to the server, not a session, and is held in memory. It survives detaching but not
kill-server, unless thehistory-fileserver option names a file to save it to. prompt-history-limit(server option, default100) caps how many entries each type keeps.clear-prompt-history(aliasclearphist) is the counterpart, taking the same-T.- Documented under STATUS LINE in the man page, alongside the other tmux/Status Line commands, since the prompt is drawn there.
- Nothing is bound to it by default; run it as
tmux show-prompt-historyfrom a shell or asshow-prompt-historyfrom the prompt itself. - Context and worked examples: tmux/Command/Prompt/Q/How can I see the history of commands I entered?