alias command in Midnight Commander
Pavel Tsekov
ptsekov@gmx.net
Fri Jul 20 09:56:00 GMT 2007
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/
More information about the Cygwin
mailing list