diff --git a/bootstrap/linux/appman.bash b/bootstrap/linux/appman.bash index 2ab2146..3525925 100644 --- a/bootstrap/linux/appman.bash +++ b/bootstrap/linux/appman.bash @@ -2,7 +2,9 @@ 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 +APPMAN_PATH="$HOME/.local/bin/appman" + +if command -v $APPMAN_PATH >/dev/null 2>&1; then + $APPMAN_PATH install wezterm + $APPMAN_PATH install nvim fi diff --git a/readme.org b/readme.org index 7247270..8748069 100644 --- a/readme.org +++ b/readme.org @@ -6,6 +6,14 @@ No rice, no Unixporn/NTporn, just a simple setup that works for me. Works for Windows, Linux and MacOS. +** Setup + +*** GNU/Linux and macOS + +#+begin_src shell +curl https://raw.githubusercontent.com/js0ny/dotfiles/refs/heads/master/bootstrap/setup.sh -o setup.sh && chmod u+x setup.sh && ./setup.sh +#+end_src + ** Structure #+begin_src shell