Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: completion for "su -" does not work



Fourhundred Thecat wrote on Fri, Nov 11, 2016 at 08:53:23 +0100:
> I have installed zsh 5.2, but su - behaves same as on 4.3.17, AFAICT.
> 
>   su - <TAB>
> 
> does not complete users, it only completes files/dirs in CWD

That has already been fixed for 5.3:

% git log zsh-5.2.. -- **/_su | me
commit cf01ad96d4758c602b41df59bf0fe1330a88b800
Author: Oliver Kiddle
Date:   Thu Jun 9 22:51:18 2016 +0200

    38639: fix username completion after -, update options and get user shell with getent

Cheers,

Daniel



Messages sorted by: Reverse Date, Date, Thread, Author