This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Environment variable mixing when starting non-cygwin GVIM from within cygwin terminal?
- From: reckoner <reckoner at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 06 Feb 2012 13:04:28 -0800
- Subject: Environment variable mixing when starting non-cygwin GVIM from within cygwin terminal?
Hi,
I usually start the non-cygwin gvim.exe via the rxvt cygwin console
doing something like:
% gvim filename.py
the problem is that, when inside GVIM, when I do:
:py print os.environ['PATH']
I see a lot of cygwin paths which messes up the Python path that GVIM
wants to use. Is there a way to start gvim.exe so that this doesn't
happen? Note that I can avoid this situation by starting GVIM in a plain
vanilla CMD window, or from a standard window shortcut, instead of using
the cygwin terminal.
This is on Windows XP Professional Ver 5.1 Build 2600 Service Pack 3.
Thanks!
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple