Bug 62716

Summary: /etc/profile.d/mc.sh doesn't work with zsh
Product: [Retired] Red Hat Linux Reporter: hjl
Component: mcAssignee: Havoc Pennington <hp>
Status: CLOSED RAWHIDE QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: nalin, teg
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-09 19:25:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 61590    

Description hjl 2002-04-04 21:15:47 UTC
When both zsh and mc are installed, I got

Last login: Thu Apr  4 12:56:45 from shanghai
mc () {
        mkdir -p $HOME/.mc/tmp 2> /dev/null
        chmod 700 $HOME/.mc/tmp
        MC=$HOME/.mc/tmp/mc-$$ 
        /usr/bin/mc -P "$@" > "$MC"
        cd "`cat $MC`"
        /bin/rm -f "$MC"
        unset MC
}

with zsh as my login shell.

Comment 1 Nalin Dahyabhai 2002-04-05 16:41:51 UTC
*** Bug 62764 has been marked as a duplicate of this bug. ***

Comment 2 Bill Nottingham 2002-04-09 19:24:57 UTC
Was this determined to be a mc or zsh bug, or both?

Comment 3 Havoc Pennington 2002-04-09 19:40:27 UTC
4.5.55-3 building now