freebsd-ports/sysutils/cdf/files/patch-main.c
Kirill Ponomarev d7aecd0c11 Add cdf 0.1,
cdf means "colorized df". The main features of cdf are:

 * customazable color schemes
 * eye-friendly capacity bars
 * most of such utils needs some 3rd party libraries,
 * python interpreter and so on, while cdf written in pure C

PR:		ports/73007
Submitted by:	Roman Bogorodskiy <bogorodskiy@inbox.ru>
2004-10-26 18:41:39 +00:00

11 lines
267 B
C

--- src/main.c.orig Fri Oct 22 19:18:32 2004
+++ src/main.c Fri Oct 22 19:18:43 2004
@@ -38,6 +38,8 @@
blocksize = 1048576;
+
+ read_config_file(expand_filename("~/.cdfrc"));
while ((ch = getopt(argc, argv, "gkmt:v")) != -1)
switch (ch) {