the GREAT CONFIG MIGRATION; (scwrypts v5 and some neat new config stuffs)

This commit is contained in:
2025-02-19 21:56:37 -07:00
parent 623828461e
commit 1b70e44700
114 changed files with 330 additions and 328 deletions

22
config/bin/vim Executable file
View File

@ -0,0 +1,22 @@
#!/bin/sh
#####################################################################
VIM_ARGS=(-p)
BUILD_PREFERENCE=(
/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 $VIM ${VIM_ARGS[@]} "$@"