You are not logged in.

#1 2009-03-25 19:32:03

Xiong Chiamiov
Member
From: central coast, california
Registered: 2008-06-18
Posts: 142
Website

zsh sudo completion

I just started using zsh last night, and so I'm not quite sure how a few things work with completion, particularly in combination with sudo.

'sudo ' followed by a path autocompletes, but 'sudo fire<tab>' doesn't.  If I drop into a root shell with sudo -s, then 'fire<tab>' *does* complete, although I think that has to do with the fact that I'm using sudo, rather than su.

As a side note, how would I go about defining my prompt differently for root, when I'm not actually using su?

Offline

Board footer

Powered by FluxBB