X-Spam-Check-By: sourceware.org Content-Type: text/plain; charset="us-ascii" Date: Fri, 20 Jul 2007 11:56:34 +0200 From: "Pavel Tsekov" 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 , cygwin AT cygwin DOT com X-Authenticated: #14308112 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) Content-Transfer-Encoding: 7bit X-GMX-UID: vPPJdc9MeWUkSmI1s29nvGojL0tsZs2N X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/