summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2013-02-07 09:21:24 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2013-02-07 09:21:24 +0100
commit97a37161fd3eb8501d828f7957c0b3b14ee33224 (patch)
treeee39bebf37e20637ebff9c2a7f5cea4849a4fd4a /config
parent3cac48dd52f11b36ef1d2d48f194932c03a66ef8 (diff)
downloadkanotix-97a37161fd3eb8501d828f7957c0b3b14ee33224.zip
kanotix-97a37161fd3eb8501d828f7957c0b3b14ee33224.tar.gz
hotfixer.sh new vim.rc lightdm
Diffstat (limited to 'config')
-rwxr-xr-xconfig/chroot_local-hooks/hotfixes.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/config/chroot_local-hooks/hotfixes.sh b/config/chroot_local-hooks/hotfixes.sh
index 1c8f5b5..d30d0ff 100755
--- a/config/chroot_local-hooks/hotfixes.sh
+++ b/config/chroot_local-hooks/hotfixes.sh
@@ -13,16 +13,15 @@ fi
# vim tuning
if [ -d /etc/vim ]; then
rm -f /etc/vim/vimrc.local
-cat <<EOT > /etc/vim/vimrc.local
-syntax on
-set background=dark
-set showmatch " Show matching brackets.
+wget -O /etc/vim/vimrc.local https://raw.github.com/amix/vimrc/master/vimrcs/basic.vim
+cat <<EOT >> /etc/vim/vimrc.local
+
set pastetoggle=<F10>
EOT
fi
# fix kdm/gdm/xdm/wdm startup
-for x in kdm gdm xdm wdm; do
+for x in kdm gdm xdm wdm lightdm; do
if [ -x /etc/init.d/$x ]; then
update-rc.d -f $x remove
update-rc.d $x start 99 5 . stop 01 0 1 2 3 4 6 .