3 ms·
What about making the tool behave sanely so you don't have to play tricks with the OS to protect yourself from its behavior? If I type "grep", I don't want it
by _kst_ 8y ago
What about making the tool behave sanely so you don't have to play tricks with the OS to protect yourself from its behavior?
If I type "grep", I don't want it to try to execute "g", "gr", and "gre" as I type it -- not if those commands don't exist, and especially not if they do.
Just don't execute a command unless the user requests it (say, by typing Enter). Problem solved.
- jspears 8y agoIt would remove the live execution bits which are kinda neet. I think the cli has a lot of life left in it and ideas like this are worth exploring. Perhaps compromises are necessary but I would love a tool that pretends to execute something shows the results and gives the option of committing those changes. Think of a find | xargs grep | rm That then shows the output but prompts the user for commit.