Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Forgive me for a semi-relevant question... How do you do tab completion in a "dd" command, e.g. "dd if=MyOs_version_<TAB>..." ? The equals always suppresses the completion.


Not quite a direct answer, but you could define a shell function for "dd" which took if and of as positional arguments and passed all the rest through.


bash-completion provides sufficiently smart completions for dd: https://github.com/scop/bash-completion/blob/master/completi...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: