On Sun, Sep 22, 2002 at 03:43:24PM +0200, martin f krafft wrote: > when i enter 'apti' into the zsh shell and press tab, it completes to > aptitude. when i type 'sudo apti<tab>', it obviously doesn't (unless > pwd == /usr/bin or /usr/share/doc). how can i make zsh complete > commands from the search path also when following sudo?
Are you using the old completion style (with compctl)? If yes, switch to the new one which works out of the box with sudo. If not, find out what happened to the _sudo function. mfg, Stephen Rüger -- It has been proposed that a million monkeys at typewriters would produce the works of Shakespeare. The experiment has been tried. It is called the Internet, and no new Shakespearean material was detected. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]