dotfiles/bootstrap/linux/appman.bash
js0ny f3333d2292 fix(posix-shell): fix on checking command exist
Use `command -v $CMD >/dev/null 2>&1` to check if command exist
2025-02-23 20:31:13 +00:00

8 lines
290 B
Bash

echo "[INFO] Installing AppMan"
echo "[ACTION] Type [2] to install AppMan"
wget -q https://raw.githubusercontent.com/ivan-hc/AM/main/AM-INSTALLER && chmod a+x ./AM-INSTALLER && ./AM-INSTALLER
if command -v appman >/dev/null 2>&1; then
appman install wezterm
appman install nvim
fi