FollieHiyuki-dotfiles/setup/nnn.sh
2021-05-03 04:09:07 +03:00

14 lines
207 B
Bash
Executable File

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