Thu, 16 Aug 2018 23:35:28 -0400
no more <cr> weirdness
685
691e15efff36
add a few more files to copy, simplify
Meredith Howard <mhoward@roomag.org>
parents:
527
diff
changeset
|
1 | #!/bin/sh |
691e15efff36
add a few more files to copy, simplify
Meredith Howard <mhoward@roomag.org>
parents:
527
diff
changeset
|
2 | set -eu |
130
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
3 | |
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
4 | if [ ! -L ~/userprofile ]; then |
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
5 | echo "Please link ~/userprofile" |
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
6 | fi |
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
7 | |
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
8 | USERPROFILE="$(readlink ~/userprofile)" |
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
9 | |
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
10 | cd `hg root` |
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
11 | |
685
691e15efff36
add a few more files to copy, simplify
Meredith Howard <mhoward@roomag.org>
parents:
527
diff
changeset
|
12 | mkdir -p ${USERPROFILE}/vimfiles |
130
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
13 | |
685
691e15efff36
add a few more files to copy, simplify
Meredith Howard <mhoward@roomag.org>
parents:
527
diff
changeset
|
14 | cp -vu .vimrc ${USERPROFILE}/_vimrc |
130
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
15 | |
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
16 | cp -vuRL -t ${USERPROFILE}/vimfiles .vim/* |
906ce6af31f6
Get rid of batch file for smarter shell script that can push out to win32 vim
Meredith Howard <mhoward@roomag.org>
parents:
diff
changeset
|
17 | |
685
691e15efff36
add a few more files to copy, simplify
Meredith Howard <mhoward@roomag.org>
parents:
527
diff
changeset
|
18 | cp -vuRL -t ${USERPROFILE}/ \ |
691e15efff36
add a few more files to copy, simplify
Meredith Howard <mhoward@roomag.org>
parents:
527
diff
changeset
|
19 | .lib \ |
691e15efff36
add a few more files to copy, simplify
Meredith Howard <mhoward@roomag.org>
parents:
527
diff
changeset
|
20 | .ctags \ |
691e15efff36
add a few more files to copy, simplify
Meredith Howard <mhoward@roomag.org>
parents:
527
diff
changeset
|
21 | .perltidyrc \ |
700 | 22 | .replyrc \ |
23 | .replyrc.pl | |
527
1723448e286b
Get some vimperator stuff too
Meredith Howard <mhoward@roomag.org>
parents:
332
diff
changeset
|
24 | |
1723448e286b
Get some vimperator stuff too
Meredith Howard <mhoward@roomag.org>
parents:
332
diff
changeset
|
25 | cat <<ENDINSTR |
1723448e286b
Get some vimperator stuff too
Meredith Howard <mhoward@roomag.org>
parents:
332
diff
changeset
|
26 | # rebuilding vimproc dll on babun for w32 gvim: |
1723448e286b
Get some vimperator stuff too
Meredith Howard <mhoward@roomag.org>
parents:
332
diff
changeset
|
27 | # $ pact install mingw-gcc-core |
1723448e286b
Get some vimperator stuff too
Meredith Howard <mhoward@roomag.org>
parents:
332
diff
changeset
|
28 | # $ make -f make_mingw32.mak CC=i686-pc-mingw32-gcc |
189
39f8cd12ec5c
Add note about vimproc build
Meredith Howard <mhoward@roomag.org>
parents:
130
diff
changeset
|
29 | |
527
1723448e286b
Get some vimperator stuff too
Meredith Howard <mhoward@roomag.org>
parents:
332
diff
changeset
|
30 | # for w64 gvim: |
1723448e286b
Get some vimperator stuff too
Meredith Howard <mhoward@roomag.org>
parents:
332
diff
changeset
|
31 | # $ pact install mingw64-x86_64-gcc-core |
1723448e286b
Get some vimperator stuff too
Meredith Howard <mhoward@roomag.org>
parents:
332
diff
changeset
|
32 | # $ make -f make_mingw64.mak CC=x86_64-w64-mingw32-gcc |
1723448e286b
Get some vimperator stuff too
Meredith Howard <mhoward@roomag.org>
parents:
332
diff
changeset
|
33 | ENDINSTR |