Thursday, April 16, 2009

CentOS: Tabulator completion for sudo in bash

To enable so-called tab-completion for sudo users, it is enough to add complete -cf sudo
to your local .bashrc file. It also works for Arch linux. En example is below:[w@localhost ~]$ sudo vnc
vncconfig vncpasswd vncserver