symlinks for directories: colors
Frédéric L. W. Meunier
lists at pervalidus.net
Tue Jan 21 17:04:25 UTC 2003
On Tue, 21 Jan 2003, Pavel Roskin wrote:
> On Tue, 21 Jan 2003, [ISO-8859-1] Frédéric L. W. Meunier wrote:
>
> > Is there any way to threat symlinks for directories like "link"
> > instead of "directory" ?
>
> Only by changing the code. Comment out this code in screen.c:
>
> if (fe->f.link_to_dir)
> return (DIRECTORY_COLOR);
Commenting out / removing didn't work.
/g/Linux/mc/src/screen.c: In function `file_compute_color':
/g/Linux/mc/src/screen.c:485: parse error before `else'
I changed it to return (LINK_COLOR)
--
0 at pervalidus.{net, {dyndns.}org}
More information about the mc
mailing list