Open requested to merge feature/url-links into master
Created by: Rycieos
Add a _lp_create_link() function that turns a URL and text into a operating system command sequence for a clickable hyperlink in the terminal. See https://github.com/mintty/mintty/wiki/CtrlSeqs#hyperlinks for details.
Add sections of the current path as hyperlinks, with the "file://" protocol.
Should links be added for other objects in the prompt? I can't think of any good ideas, other than VCS branches linking to the remote site copy of the branch. Or maybe, since Python virtualenvs IDs are nothing more than their path, they could be done the same as the path sections.
Should there be
ENABLEconfig options for each type of link?
Should it be enabled or disabled by default?
Should it be scoped to controlled by themes, or by Liquidprompt internals? (this current implementation uses it only in internals, not at the default theme level)
Needs docs written.
Needs specific test coverage.