FollieHiyuki-dotfiles/setup/nnn.sh

14 lines
207 B
Bash
Raw Normal View History

#!/bin/sh -e
2021-03-22 15:54:22 -04:00
git clone https://github.com/FollieHiyuki/nnn.git
cd nnn
2021-03-22 15:54:22 -04:00
if command -v doas >/dev/null
then
2021-03-22 16:02:41 -04:00
doas -- make O_NERD=1 PREFIX=/usr install
2021-03-22 15:54:22 -04:00
else
2021-03-22 16:02:41 -04:00
sudo make O_NERD=1 PREFIX=/usr install
2021-03-22 15:54:22 -04:00
fi
cd ..