You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
terminal: per-host command history, like Termius #66
A history of the commands run on each host, like Termius has. A panel or picker per host lists recent commands, newest first, and picking one types it into the terminal (or runs it, like snippets). One button saves a command from the history as a snippet.
Why is this needed?
You often repeat the same commands on the same server: docker ps, a log tail, a restart. Termius users expect this and look for it when they switch. Snippets cover the commands you save on purpose, but not "what did I run on web-01 yesterday".
Decisions needed before building it:
How commands are captured. Reading lines typed into the terminal is unreliable (line editing, tab completion, prompts inside programs) and can capture secrets typed at password prompts. Reading the remote shell's own history (~/.bash_history) depends on the shell and its settings. Shell integration (OSC 133 markers) is accurate but needs setup on each server.
Privacy. History is sensitive. Should it stay local only, or sync encrypted like snippets? Never record anything typed while a password prompt is detected, nor anything filled by ⌘\.
Limits. How many entries per host, and an easy way to clear them.
Activity