replace mcedit with emacsclient without chaning $EDITOR

Andrew Borodin aborodin at vmail.ru
Wed Feb 10 06:46:00 UTC 2010


On Tue, 9 Feb 2010 09:57:15 -0500 Haines Brown KB1GRM ET1 wrote:
> My mc.sh is in the same directory as mc-wrapper.sh, and only provides 
> an alias for mc:
> 
> alias mc='. /usr/share/mc/bin/mc-wrapper.sh'

The simplest way is add the following line

source /usr/share/mc/bin/mc.sh

into your ~/.bashrc.

Or ask maintainer of MC package in your distro to move mc.sh script
into /etc/bashrc.d directory.

-- 
Andrew



More information about the mc mailing list