Gentoo tweaks

By , last updated September 29, 2008

Vim with a more friendly look, /etc/vim/vimrc.local

set background=dark
set tabstop=4
set showmatch
set showcmd
set autowrite
highlight ModeMsg cterm=bold ctermfg=2 ctermbg=black    " set mode message ( --INSERT-- ) to green
highlight StatusLine ctermfg=7 ctermbg=9               " set the     active statusline to black on white
highlight StatusLineNC ctermfg=8 ctermbg=9              " set   inactive statusline to black on grey
syntax on

Simple copy Linux kernel to the right place, /sbin/

cp /usr/src/linux/arch/i386/boot/bzImage /boot/linux-$1
cp /usr/src/linux/ /boot/$1
cp /usr/src/linux/.config /boot/config-$1

Bash stuff, add to /etc/bash/bashrc

alias ll='ls -lah --color=auto'
export LANG="en_US.UTF-8"
alias upd='emerge -v sync && emerge -uavDN world && etc-update && revdep-rebuild -v'

Vmware with OEM only Guest OS (Windows Server), in the *.vmx file


Some tricks with make.conf

# make sure we logs the error messages from compiling
PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_MAILSUBJECT="package ${PACKAGE} was merged on ${HOST} with some messages"


Be the first to comment.

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>