Mercurial > ec-dotfiles
annotate update-vendor @ 618:fb9d19959976
Support for local vimrc file
author | nanaya <me@nanaya.pro> |
---|---|
date | Mon, 09 Jul 2018 16:06:13 +0900 |
parents | d4d316db35d7 |
children | 7ac088ee101a |
rev | line source |
---|---|
508
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
1 #!/bin/sh |
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
2 |
572 | 3 set -u |
4 set -e | |
5 | |
6 | |
578
184635b813e1
Whoops, has been using wrong syntax
nanaya <me@myconan.net>
parents:
572
diff
changeset
|
7 if command -v wget > /dev/null 2>&1; then : |
184635b813e1
Whoops, has been using wrong syntax
nanaya <me@myconan.net>
parents:
572
diff
changeset
|
8 else |
508
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
9 echo wget is required |
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
10 exit 1 |
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
11 fi |
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
12 |
572 | 13 |
508
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
14 _get() { |
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
15 wget --no-check-certificate -nv "$1" |
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
16 } |
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
17 |
572 | 18 |
19 ( | |
20 cd "$(dirname "$0")/vendor/vim-autoload" | |
21 | |
22 rm -f *.vim | |
23 _get "https://raw.githubusercontent.com/tpope/vim-pathogen/master/autoload/pathogen.vim" | |
24 ) | |
25 | |
508
bbcffc594d1e
Vendor what should be vendored and add some more.
edogawaconan <me@myconan.net>
parents:
diff
changeset
|
26 |
572 | 27 ( |
28 cd "$(dirname "$0")/vendor/vim-syntax" | |
29 | |
30 rm -f *.vim | |
589 | 31 _get https://bitbucket.org/vim-mirror/vim/raw/tip/runtime/syntax/eruby.vim |
32 _get https://bitbucket.org/vim-mirror/vim/raw/tip/runtime/syntax/json.vim | |
33 _get https://bitbucket.org/vim-mirror/vim/raw/tip/runtime/syntax/less.vim | |
34 _get https://bitbucket.org/vim-mirror/vim/raw/tip/runtime/syntax/ruby.vim | |
35 _get https://bitbucket.org/vim-mirror/vim/raw/tip/runtime/syntax/scss.vim | |
572 | 36 _get https://github.com/kchmck/vim-coffee-script/raw/master/syntax/coffee.vim |
37 _get https://github.com/slim-template/vim-slim/raw/master/syntax/slim.vim | |
589 | 38 _get https://raw.githubusercontent.com/jwalton512/vim-blade/master/syntax/blade.vim |
596 | 39 _get http://hg.nginx.org/nginx/raw-file/tip/contrib/vim/syntax/nginx.vim |
604 | 40 _get https://raw.githubusercontent.com/jelera/vim-javascript-syntax/master/syntax/javascript.vim |
572 | 41 ) |