This commit is contained in:
pika 2025-05-22 12:01:12 +02:00
parent d3d137a22b
commit db7ac16675
3 changed files with 83 additions and 24 deletions

View file

@ -41,21 +41,23 @@ _check() {
}
_install() {
case "$1" in
--help | -h)
_help
;;
nvim)
if _check; then
_install_func "neovim"
fi
;;
*)
if _check; then
_install_func "$@"
fi
;;
esac
for arg in "$@"; do
case "arg" in
--help | -h)
_help
;;
nvim)
if _check; then
_install_func "neovim"
fi
;;
*)
if _check; then
_install_func "$@"
fi
;;
esac
done
}
# _setup(){