#!/bin/sh# A little fix so mc exits into it's current working directoryMC_ENV=/usr/lib/mc/bin/mc.sh
foriin$MC_ENV;doif[-x$i];then.$ifidone# include this, so also xterm,kterm,gterm,etc will have default bash settings#if [ "x$SHLVL" != "x1" ]; then # We're not a login shell# . /etc/profile#fi