This commit is contained in:
2026-05-29 13:35:04 -05:00
parent 31f9d46c01
commit f3271f107f
2 changed files with 5 additions and 2 deletions
+3 -2
View File
@@ -40,7 +40,7 @@ fi
NVIM_REQUIRED_BINARIES=(
cmake
curl
fz
fzf
g++
gcc
git
@@ -52,6 +52,7 @@ NVIM_REQUIRED_BINARIES=(
sed
shfmt
tar
tree-sitter
unzip
wget
zip
@@ -76,7 +77,7 @@ function error_exit() {
}
function check_binary() {
if !command -v "$1" >/dev/null 2>&1; then
if ! command -v "$1" >/dev/null 2>&1; then
error_exit "failed to find required binary: $1"
fi
}
+2
View File
@@ -22,6 +22,8 @@
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
. "${SCRIPT_DIR}/common.sh"
mkdir -p ~/.local/bin
create_link "${SCRIPT_DIR}/nvim" "${HOME}/.config/${NVIM_APPNAME}"
create_link "${SCRIPT_DIR}/dviml.sh" "${HOME}/.local/bin/dviml"
create_link "${SCRIPT_DIR}/dviml2.sh" "${HOME}/.local/bin/dviml2"