config + scwryptsv3.7.2 update
This commit is contained in:
parent
26a34d1c84
commit
adbbb0fd83
21
bin/vim
21
bin/vim
@ -1,11 +1,22 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#####################################################################
|
#####################################################################
|
||||||
|
|
||||||
VIM_ARGS=(-p)
|
VIM_ARGS=(-p)
|
||||||
VIM=/usr/bin/vim
|
|
||||||
#####################################################################
|
|
||||||
|
|
||||||
SOURCE_BUILD=/usr/local/bin/vim
|
BUILD_PREFERENCE=(
|
||||||
[ -f $SOURCE_BUILD ] && VIM=$SOURCE_BUILD
|
/usr/local/bin/vim # source build
|
||||||
|
/usr/bin/vim # package manager build
|
||||||
|
)
|
||||||
|
|
||||||
|
for V in ${BUILD_PREFERENCE[@]}
|
||||||
|
do
|
||||||
|
[ -f $V ] && VIM=$V && break
|
||||||
|
done
|
||||||
|
|
||||||
|
[ -f $VIM ] || {
|
||||||
|
echo "unable to find a build for vim; is it installed?" >&2
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
#####################################################################
|
#####################################################################
|
||||||
exec $(printf "%q " $VIM ${VIM_ARGS[@]} $@)
|
exec $VIM ${VIM_ARGS[@]} "$@"
|
||||||
|
@ -13,6 +13,8 @@
|
|||||||
[pull]
|
[pull]
|
||||||
default = current
|
default = current
|
||||||
rebase = true
|
rebase = true
|
||||||
|
[rebase]
|
||||||
|
autostash = true
|
||||||
[color]
|
[color]
|
||||||
diff = always
|
diff = always
|
||||||
status = always
|
status = always
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 2034325ac9153b6b338947443a21cdfefb8b9cb2
|
Subproject commit 15942bb08d5c3f413941faae0eff7f1d49a00e49
|
Loading…
Reference in New Issue
Block a user