From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28110 invoked by alias); 14 Aug 2013 16:12:52 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17926 Received: (qmail 8954 invoked from network); 14 Aug 2013 16:12:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at dan.emsphone.com does not designate permitted sender hosts) Date: Wed, 14 Aug 2013 11:05:16 -0500 From: Dan Nelson To: Thorsten Kampe Cc: zsh-users@zsh.org Subject: Re: Disable RPROMPT in Midnight Commander Message-ID: <20130814160516.GI93586@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 9.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.8 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (email2.allantgroup.com [172.17.19.78]); Wed, 14 Aug 2013 11:05:17 -0500 (CDT) X-Scanned-By: MIMEDefang 2.73 In the last episode (Aug 14), Thorsten Kampe said: > Midnight Commander shows the right hand prompt directly after the standard > prompt (like in "user@host% /etc"). Is there a way to disable RPROMPT > just for Midnight Commander? I use this in the zshrc where I set the prompt: if [[ $+MC_SID = 1 ]] ; then # inside Midnight Commander? Just give us a basic prompt PROMPT=">%(#/#/) " RPROMPT="" fi -- Dan Nelson dnelson@allantgroup.com