summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/hotfixes.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-hooks/hotfixes.sh')
-rwxr-xr-xconfig/chroot_local-hooks/hotfixes.sh20
1 files changed, 10 insertions, 10 deletions
diff --git a/config/chroot_local-hooks/hotfixes.sh b/config/chroot_local-hooks/hotfixes.sh
index fa0a60c..0943dbd 100755
--- a/config/chroot_local-hooks/hotfixes.sh
+++ b/config/chroot_local-hooks/hotfixes.sh
@@ -10,16 +10,6 @@ if [ -f /etc/powersave/events ]; then
pidof powersaved >/dev/null && /etc/init.d/powersaved restart
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.
-set pastetoggle=<F10>
-EOT
-fi
# fix kdm/gdm/xdm/wdm startup
for x in kdm gdm xdm wdm lightdm; do
@@ -63,3 +53,13 @@ auto lo
iface lo inet loopback
EOT
+# 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.
+set pastetoggle=<F10>
+EOT
+fi