add mc
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@566 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
11
app-misc/mc/files/chdir-4.6.0.gentoo
Normal file
11
app-misc/mc/files/chdir-4.6.0.gentoo
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
MC ()
|
||||
{
|
||||
mkdir -p $HOME/.mc/tmp 2> /dev/null
|
||||
chmod 700 $HOME/.mc/tmp
|
||||
MC=$HOME/.mc/tmp/mc-$$
|
||||
/usr/bin/mc -P "$MC"
|
||||
cd "`cat $MC`"
|
||||
rm -f "$MC"
|
||||
unset MC;
|
||||
}
|
||||
87
app-misc/mc/files/ebuild.syntax
Normal file
87
app-misc/mc/files/ebuild.syntax
Normal file
@@ -0,0 +1,87 @@
|
||||
context default
|
||||
keyword linestart HOMEPAGE brightcyan
|
||||
keyword linestart DESCRIPTION brightcyan
|
||||
keyword linestart SRC_URI brightcyan
|
||||
keyword linestart LICENSE brightcyan
|
||||
keyword linestart SLOT brightcyan
|
||||
keyword linestart KEYWORDS brightcyan
|
||||
keyword linestart IUSE brightcyan
|
||||
keyword linestart RESTRICT brightcyan
|
||||
keyword linestart DEPEND brightcyan
|
||||
keyword linestart RDEPEND brightcyan
|
||||
keyword linestart EAPI brightcyan
|
||||
keyword linestart S brightcyan
|
||||
|
||||
keyword whole local yellow
|
||||
keyword whole use yellow
|
||||
keyword whole has_version yellow
|
||||
keyword whole best_version yellow
|
||||
keyword whole use_with yellow
|
||||
keyword whole use_enable yellow
|
||||
keyword whole keepdir yellow
|
||||
keyword whole econf yellow
|
||||
keyword whole einstall yellow
|
||||
keyword whole die yellow
|
||||
keyword whole einfo yellow
|
||||
keyword whole elog yellow
|
||||
keyword whole emake yellow
|
||||
keyword whole eerror yellow
|
||||
keyword whole epatch yellow
|
||||
keyword whole ebegin yellow
|
||||
keyword whole eend yellow
|
||||
keyword whole ewarn yellow
|
||||
keyword whole unpack yellow
|
||||
|
||||
keyword whole diropts yellow
|
||||
keyword whole dobin yellow
|
||||
keyword whole docinto yellow
|
||||
keyword whole dodir yellow
|
||||
keyword whole dodoc yellow
|
||||
keyword whole doexe yellow
|
||||
keyword whole dohard yellow
|
||||
keyword whole dohtml yellow
|
||||
keyword whole doinfo yellow
|
||||
keyword whole doins yellow
|
||||
keyword whole dolib.a yellow
|
||||
keyword whole dolib.so yellow
|
||||
keyword whole dolib yellow
|
||||
keyword whole doman yellow
|
||||
keyword whole dosbin yellow
|
||||
keyword whole dosym yellow
|
||||
keyword whole exeinto yellow
|
||||
keyword whole exeopts yellow
|
||||
keyword whole fowners yellow
|
||||
keyword whole fperms yellow
|
||||
keyword whole insinto yellow
|
||||
keyword whole insopts yellow
|
||||
keyword whole into yellow
|
||||
keyword whole libopts yellow
|
||||
keyword whole newbin yellow
|
||||
keyword whole newdoc yellow
|
||||
keyword whole newexe yellow
|
||||
keyword whole newins yellow
|
||||
keyword whole newman yellow
|
||||
keyword whole newsbin yellow
|
||||
keyword whole prepall yellow
|
||||
keyword whole prepalldocs yellow
|
||||
keyword whole prepallinfo yellow
|
||||
keyword whole prepallman yellow
|
||||
|
||||
keyword = yellow
|
||||
keyword : yellow
|
||||
keyword ${+} brightgreen
|
||||
|
||||
keyword linestart abcdefghijklmnopqrstuvwxyz_\(\) brightmagenta
|
||||
|
||||
keyword *() brightcyan
|
||||
|
||||
keyword { magenta
|
||||
keyword } magenta
|
||||
|
||||
context linestart inherit \n magenta
|
||||
keyword whole inherit yellow
|
||||
|
||||
context # \n red
|
||||
|
||||
context " " green
|
||||
keyword wholeright ${+} brightgreen
|
||||
16
app-misc/mc/files/mc.gentoo
Normal file
16
app-misc/mc/files/mc.gentoo
Normal file
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user