summaryrefslogtreecommitdiff
blob: e06f19a8991ebe2d83301e1bee20166f11e86635 (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/lib/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