Created
August 13, 2014 03:26
-
-
Save siers/23a21d18c45e222226e4 to your computer and use it in GitHub Desktop.
A diff for coreutils/src/ls.c to add a purple-colored skittles to every directory listing, even in ls -R.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/ls.c b/src/ls.c | |
index cd5996e..102599b 100644 | |
--- a/src/ls.c | |
+++ b/src/ls.c | |
@@ -2668,6 +2668,10 @@ print_dir (char const *name, char const *realname, bool command_line_arg) | |
process_signals (); | |
} | |
+ total_blocks += gobble_file ("skittles", sock, | |
+ 0, | |
+ false, name); | |
+ | |
if (closedir (dirp) != 0) | |
{ | |
file_failure (command_line_arg, _("closing directory %s"), name); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment