[arch-general] mc - why not alias mc-wrapper.sh as default

Kyle Bassett kylebassett at gmail.com
Fri May 2 01:26:57 EDT 2014


I retract my smug remark, for some reason I recalled mc as a file editor.
 I must be thinking of QBASIC (blue terminal interface).



On Friday, May 2, 2014, Kyle Bassett <kylebassett at gmail.com> wrote:

> alias mc='vim' works really well for me!
>
> :-P
>
> Just make sure you have a solid syntax highlighter installed, custom or
> otherwise.
>
>
> On Thursday, May 1, 2014, David C. Rankin <drankinatty at suddenlinkmail.com<javascript:_e(%7B%7D,'cvml','drankinatty at suddenlinkmail.com');>>
> wrote:
>
>> All,
>>
>>   midnight commander provides a convenient script that allows exit to the
>> present working directory of mc instead of returning you to the directory
>> in
>> which mc was started. All that is required is a simple alias:
>>
>>   alias mc='. /usr/lib/mc/mc-wrapper.sh'
>>
>>   This simply invokes mc with the -P option saving the present dir to a
>> tmp
>> file, then changing to it on exit.
>>
>>   Any reason not to make this the default?
>>
>>   Just a convenience suggestion with a simple fix -- for consideration.
>>
>> --
>> David C. Rankin, J.D.,P.E.
>>
>


More information about the arch-general mailing list