Join GitHub today
'completion:*:*:*:users ignored-patterns' more robust #562
referenced this pull request
Feb 24, 2014
Currently, ignored users are hardcoded with no recognition of whether they are available on the system or not. Likewise, users that are common on any recent e.g. GNU/Linux system are excluded from the list.
Here is the output of
Obviously, the current prezto directive does not do very well what it intends to.
Should list of relevant system users ever wish to be kept up-to-date, this patch alleviates any future burden associated with it.
This is my only argument.
Yes, weirdo Solaris, only reserving 100 UID/GID combos for services. :D
I don't think any Linux has UID_MIN < 500. As I hear, 500 is customary for RHEL and CentOS. Obviously, 500 is a common denominator of at least OS X, BSDs (I asked on #freebsd), and Linux distributions (even Debian-based since 500 < 1000 — none of the legit users are ever discounted while all the services rising from UID=0 are, as expected). (Save for the example of 500 system service accounts — a purely theoretical case I have yet to witness.)
In practice, this should work without fault for over 99% of prezto users and work much better than the lines currently used!
On GNU/Linux, there is a setting