uniquify has an interesting feature that when visiting two files with the same name, it shows in the mode-line a uniquified version of their name.
For example if we have two files with the paths
.../directory2/file.txt it shows in the mode-line something like
/directory2/file.txt not just
It suffices to put this in the intit file:
Unfortunately this only works in a single instance of emacs. Is there any way to have this feature when several instance of emacs are running? I mean how to uniquify the names in all frames and buffers opened in these instances.