-
-
Notifications
You must be signed in to change notification settings - Fork 439
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Color the name with a red background if a setuid flag is set #44
Comments
My idea would be to add a boolean parameter to the colorize function to control whether the background is highlighted or not. Is this acceptable, in your opinion? |
I'm not a big fan of this kind of argument... What do you think of creating an What do you think of it? |
That actually makes much more sense. I initially misunderstood how the |
Another way to do it would be to make the
By adding |
Seems a great idea indeed. I think you can do the same thing with the directories. |
Ok, then I’ll do it this way :) |
How to test:
mkdir /tmp/test mkdir /tmp/test/dir touch /tmp/test/file chmod u+s /tmp/test/dir /tmp/test/file lsd /tmp/test # `file` and `dir` should be printed with a red background
The text was updated successfully, but these errors were encountered: