summaryrefslogtreecommitdiff
path: root/app-misc/mc/files/mc.gentoo
blob: a71d249b8f6b10e506515da27d7e543e18bdb5a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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