How to open any file with Midnight Commander in MacosX

Very simple just define the environment variable MC_XDG_OPEN before launching mc:

$ MC_XDG_OPEN=open mc 

And now when you press enter on any file you\'ll let MacOSX decide what program to use (very useful for images and PDFs).

This entry was posted in Uncategorized. Bookmark the permalink.