updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / vim-python / vim-python.install
blob149efa879ef53bd7307dbb1d991f8b2b06b7778c
1 post_install() {
2     echo -n "Updating vim help tags..."
3     /usr/bin/vim --noplugins -u NONE -U NONE \
4         --cmd ":helptags /usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1
5     echo "done."
7     echo "add in ~/.vimrc"
8     echo "autocmd FileType python set omnifunc=pythoncomplete#Complete"
9     echo "set runtimepath=~/.vim,$VIM/vimfiles,$VIMRUNTIME"
12 post_upgrade() {
13   post_install $1
16 post_remove() {
17   post_install
20 op=$1
21 shift
23 $op $*