Risks of just learning everything by default? #52
-
|
After using this extension for some time, I'm getting used to giving cod the okay to learn a command's completion. So far I haven't found an instance where I wanted cod to not learn the completion for a command. Are there risks to just setting cod to always just learn the completion for a command, no questions asked, anytime it can? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Each time you allow For example:
I don't like idea that some utility silently echoes my commands and I want such rerunning to be explicit so in my setup I always explicitly allow But maybe this is my paranoia :) It's also very uncommon to me to disallow Other slight risk is |
Beta Was this translation helpful? Give feedback.
Each time you allow
codto learn command,codreruns it.For example:
./purge-hard-drive --force --helpcoddetects that command looks like help invocation and suggests to learn itcodto learn this commandcodruns./purge-hard-drive --force --helpagain, but this time it tries to capture command output and parse it.I don't like idea that some utility silently echoes my commands and I want such rerunning to be explicit so in my setup I always explicitly allow
codto relaunch command.But maybe this is my paranoia :) It's also very uncommon to me to disallow
codto learn something.Other slight risk is
codlearns command that already has better completion provide…