summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.vim/pack/mvertes/install.sh8
-rw-r--r--Library/LaunchAgents/local.update_hosts.plist18
2 files changed, 24 insertions, 2 deletions
diff --git a/.vim/pack/mvertes/install.sh b/.vim/pack/mvertes/install.sh
index 24a52f0..388a620 100755
--- a/.vim/pack/mvertes/install.sh
+++ b/.vim/pack/mvertes/install.sh
@@ -1,7 +1,11 @@
#!/bin/sh -e
-plugins='git@github.com:mvertes/vimki git@github.com:fatih/vim-go'
-ht='vim -c "helptags doc" -c "q"'
+plugins='
+git@github.com:mvertes/vimki
+git@github.com:fatih/vim-go
+git@github.com:othree/xml.vim
+'
+ht='test -d doc && vim -c "helptags doc" -c "q"'
mkdir -p start
cd start
diff --git a/Library/LaunchAgents/local.update_hosts.plist b/Library/LaunchAgents/local.update_hosts.plist
new file mode 100644
index 0000000..c4cf01e
--- /dev/null
+++ b/Library/LaunchAgents/local.update_hosts.plist
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
+ "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>Label</key>
+ <string>local.update_hosts</string>
+ <key>Program</key>
+ <string>/Users/marc/bin/update_hosts</string>
+ <key>StartCalendarInterval</key>
+ <dict>
+ <key>Hour</key>
+ <integer>9</integer>
+ <key>Minute</key>
+ <integer>0</integer>
+ </dict>
+</dict>
+</plist>