New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve CRealConsole::GetMntPrefix() #1204

Open
gene-pavlovsky opened this Issue Jul 25, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@gene-pavlovsky

gene-pavlovsky commented Jul 25, 2017

Would it be possible to improve GetMntPrefix() to auto-detect the correct prefix (by parsing C:\cygwin64\etc\fstab or C:\cygwin\etc\fstab)? Or do I have to use :m:/mnt option to new_console for every Cygwin-related task I define?

P.S. Is it possible to disable the pasting auto-conversion for some tasks? E.g. I have a tab which ssh's to a remote Linux server (using Cygwin ssh). It clearly makes no point to do path conversion when pasting in that console.

@Maximus5 Maximus5 added the connector label Nov 13, 2017

Maximus5 added a commit that referenced this issue Nov 17, 2017

gh-1204: Get mount root prefix from connector automatically.
   It is used on paste paths to cygwin/msys consoles, e.g. when you
   paste `C:\My Sources` you'll get `/cygdrive/c/My\ Sources`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment