Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Start mc with every new shell



chesss <testingagain@xxxxxxxxx> wrote:
> I tried:
> 1. adding mc to .zshrc, but it hangs the chell . adding mc to .bashrc  
> works.

Have you tried something like:

  if [[ -z $ZSH_IN_MC ]]; then
    export ZSH_IN_MC=1
    mc
  fi

which works for me (as far as I can see, anyway, I'm not an expert on mc)?
bash may have some automatic method of detection.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php



Messages sorted by: Reverse Date, Date, Thread, Author