Commit e8f785e1 authored by Seblu's avatar Seblu
Browse files

base-seblu: add vim config

parent f0f023b2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
# Maintainer: Sébastien Luttringer <seblu@archlinux.org>

pkgname=base-seblu
pkgver=2013.09.10
pkgver=2013.09.11
pkgrel=1
pkgdesc='Provide depends on minimal seblu hosts packages'
arch=('any')
@@ -114,6 +114,7 @@ package() {
  install -Dm644 zsh/etc.zshrc "$_d"
  install -Dm644 e2fsprogs/e2fsk.conf "$_d"
  install -Dm644 ntp/ntp.conf "$_d"
  install -Dm644 vim/seblu.vim "$_d"
}

# vim:set ts=2 sw=2 et:
+7 −0
Original line number Diff line number Diff line
@@ -29,6 +29,13 @@ post_install() {
  check_file /etc/sysctl.d/seblu.net.conf
  check_file /etc/zsh/zshrc etc.zshrc

  # enable vim config
  check_file /usr/share/vim/vimfiles/seblu.vim
  if ! grep -q 'runtime! seblu.vim' /etc/vimrc; then
    echo '-- Updating /etc/vimrc'
    echo 'runtime! seblu.vim' >> /etc/vimrc
  fi

  # localtime
  check_link '/usr/share/zoneinfo/Europe/Paris' /etc/localtime