#!/bin/sh git clone https://github.com/FollieHiyuki/nnn.git cd nnn || exit 1 if command -v doas >/dev/null then doas -- make O_NERD=1 install else sudo make O_NERD=1 install fi cd ..