Skip to content
Discussion options

You must be logged in to vote

Each time you allow cod to learn command, cod reruns it.

For example:

  1. you just run ./purge-hard-drive --force --help
  2. cod detects that command looks like help invocation and suggests to learn it
  3. You allow cod to learn this command
  4. cod runs ./purge-hard-drive --force --help again, 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 cod to relaunch command.

But maybe this is my paranoia :) It's also very uncommon to me to disallow cod to learn something.

Other slight risk is cod learns command that already has better completion provide…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eaglgenes101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants