delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,TW_RX |
X-Spam-Check-By: | sourceware.org |
X-Mail-Handler: | MailHop Outbound by DynDNS |
X-Report-Abuse-To: | abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) |
X-MHO-User: | U2FsdGVkX1+xsMvZ3a/lJGTqi615BgDP |
Date: | Mon, 6 Feb 2012 16:15:24 -0500 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Environment variable mixing when starting non-cygwin GVIM from within cygwin terminal? |
Message-ID: | <20120206211523.GA3090@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <4F30405C DOT 9030309 AT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <4F30405C.9030309@gmail.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Mon, Feb 06, 2012 at 01:04:28PM -0800, reckoner wrote: >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. Why not just set PATH to whatever you want prior to running your windows version of gvim? You could even make an alias: alias gvim='PATH=WHATEVER /path/to/your/gvim' -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |