Skip to content

Commit f3e2396

Browse files
committed
README and kfc.c update
remove "->" for "-l" switch.
1 parent 251f140 commit f3e2396

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

README

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,20 @@ kfc [-s palette|-L|-r] [l|-v|-p]
5151
-v Show version information
5252

5353

54+
EXAMPLES
55+
--------
56+
57+
- To apply a color palette automatically to a new
58+
terminal window, you can add the following line to
59+
one of your system startup files (e.g ~/.profile,
60+
~/.ashrc or ~/.bashrc):
61+
62+
$ [ -x "$(command -v kfc)" ] && kfc -s PALETTE
63+
64+
Remember to replace PALETTE in the line above
65+
with your preferred color palette.
66+
67+
5468
NEW PALETTES
5569
------------
5670

kfc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ list_palette(void)
9494

9595
while((de = readdir(p.dr)) != NULL)
9696
{
97-
printf("->%s\n", de->d_name);
97+
printf("%s\n", de->d_name);
9898
}
9999

100100
closedir(p.dr);

0 commit comments

Comments
 (0)