linamh/app-misc/mc/files/mc.gentoo
geos_one 5f2f554e72 add mc
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@566 6952d904-891a-0410-993b-d76249ca496b
2008-11-15 13:23:55 +00:00

17 lines
322 B
Bash

#!/bin/sh
# A little fix so mc exits into it's current working directory
MC_ENV=/usr/share/mc/bin/mc.sh
for i in $MC_ENV; do
if [ -x $i ]; then
. $i
fi
done
# 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