In the compilation environment in emacs (M-x compile
), whenever there is a path to file (ex.: ../src/code.cpp:21:3: warning: comparison between...
) it highlights the path and make it clickable. When clicked, it opens the file in the corresponding line.
I wanted to enable a similar feature in eshell. So that it would highlight and make clickable everything that looks like a file path. How to do that? Is there any script available for that?
[Edit] - clarifications.