Protect useful history
Keep blacklisted commands, keyboard smashes, and accidental punctuation from cluttering the commands you rely on.
Built for Windows CMD + Clink
ClinkKit is a modular productivity toolkit for Windows CMD. Its first feature, HistoryGuard, keeps accidental commands from polluting the history you depend on.
~max31337 {~}
❯ git stauts
HistoryGuard: didn't save to history.
Did you mean: git status
git: 'stauts' is not a git command.
The most similar command is
status history kept clean
~max31337 {~}
❯
HISTORYGUARD / AVAILABLE NOW
HistoryGuard leaves execution alone. It simply gives your command history a better memory.
Keep blacklisted commands, keyboard smashes, and accidental punctuation from cluttering the commands you rely on.
Spot executable, subcommand, and long-option typos while suggesting the command you most likely meant.
Review existing history with backups, dry runs, duplicate removal, and an optional Alt-Ctrl-H cleanup shortcut.
QUIETLY IN THE BACKGROUND
HistoryGuard never stops CMD from running a command. It evaluates the line after you accept it and decides whether Clink should remember it.
CMD receives your command exactly as typed.
It checks configured rules for accidental or unwanted history entries.
Valid commands remain searchable. Rejected lines do not clutter future recall.
START WITH SOURCE
ClinkKit is currently installed from source. Copy the loader and module directory into your Clink profile, then reload scripts.
View installation instructions:: Place both in your Clink profile
%LOCALAPPDATA%\clink\00_clinkkit.lua
%LOCALAPPDATA%\clink\clinkkit\
:: Reload scripts, then verify settings
> clink set hg.max_distanceMAKE IT YOURS
Every safeguard is configurable with normal Clink settings. Keep a light touch, or turn on strict subcommand filtering when you want it.
hg.strict_subcommandsReject unrelated subcommands such as git asdfgh.
hg.max_distanceTune how close a typo needs to be for a suggestion.
hg.cleanup_unknown_exeOpt into deeper cleanup checks when needed.
BUILT TO GROW
HistoryGuard is the first ClinkKit module. The roadmap expands the CMD experience without pretending future features are already here.
mkcd