This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: alias command in Midnight Commander
- From: "Pavel Tsekov" <ptsekov at gmx dot net>
- To: dIna <dinapsicolabile at infinito dot it>, cygwin at cygwin dot com
- Date: Fri, 20 Jul 2007 11:56:34 +0200
- Subject: Re: alias command in Midnight Commander
- References: <469E58FA.7020308@infinito.it>
Hello,
-------- Original-Nachricht --------
Datum: Wed, 18 Jul 2007 20:16:26 +0200
Von: dIna
An: cygwin@cygwin.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/