How can I colorize hardlinks myself? Turns out on an old Ubuntu 10.04 I have, this happens by default (same .bashrc
and .profile
in use), whereas on the newer Ubuntu 12.04 it doesn't.
This is the output on Ubuntu 10.04 (the one I desire):
And this is the output on Ubuntu 12.04:
The relevant file is .vimrc
, however, .viminfo
is an ordinary file with link count 1, in contrast to the hardlinked .vimrc
.
Of course the fact that GNU coreutils
uses texinfo pages instead of man pages doesn't make things easier. I found this here, but it doesn't refer to the case I am looking for.
TL;DR: how to achieve coloring hardlinked (as in: link count > 1) files the way I like in various Ubuntu versions.