delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 20 Jul 2007 11:56:34 +0200 |
From: | "Pavel Tsekov" <ptsekov AT gmx DOT net> |
In-Reply-To: | <469E58FA.7020308@infinito.it> |
Message-ID: | <20070720095634.6420@gmx.net> |
MIME-Version: | 1.0 |
References: | <469E58FA DOT 7020308 AT infinito DOT it> |
Subject: | Re: alias command in Midnight Commander |
To: | dIna <dinapsicolabile AT infinito DOT it>, cygwin AT cygwin DOT com |
X-Authenticated: | #14308112 |
X-Flags: | 0001 |
X-Mailer: | WWW-Mail 6100 (Global Message Exchange) |
X-GMX-UID: | vPPJdc9MeWUkSmI1s29nvGojL0tsZs2N |
X-IsSubscribed: | yes |
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 |
Hello, -------- Original-Nachricht -------- Datum: Wed, 18 Jul 2007 20:16:26 +0200 Von: dIna An: cygwin AT cygwin DOT com Betreff: alias command in Midnight Commander > I'va installed "mc" version 4.6.1 using cygwin setup. > In mc alias command doesn't work. > ex: > $ alias mytest='echo "test"' > $ mytest > /bin/bash: mytest: command not found > > When I quit mc and resent the commands on shell it works. > Any idea? The subshell feature of MC is disabled by default on Cygwin - so a new shell is spawned each time you execute a command trough the command line widget in MC and your changes are immediately lost. Run MC by passing it the -U command line option and it should work as expected. -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |