Ticket #1554: mc.gentoo

File mc.gentoo, 322 bytes (added by ssuominen, 15 years ago)

mc.gentoo file that was installed to /usr/share/mc

Line 
1#!/bin/sh
2
3# A little fix so mc exits into it's current working directory
4MC_ENV=/usr/share/mc/bin/mc.sh
5
6for i in $MC_ENV; do
7        if [ -x $i ]; then
8                . $i
9        fi
10done
11
12# include this, so also xterm,kterm,gterm,etc will have default bash settings
13
14#if [ "x$SHLVL" != "x1" ]; then # We're not a login shell
15#       . /etc/profile
16#fi