nnn/plugins/getplugs
2019-05-22 08:44:19 +05:30

15 lines
399 B
Bash
Executable file

#!/usr/bin/env sh
# Description: Update nnn plugins
#
# Shell: POSIX compliant
# Author: Arun Prakash Jana
mkdir -p ~/.config/nnn/plugins
cd ~/.config/nnn/plugins
wget -nv --show-progress https://github.com/jarun/nnn/archive/master.tar.gz
tar -xf master.tar.gz
cp -vf nnn-master/plugins/* .
sudo mv -vf nnn-master/scripts/nlaunch/nlaunch /usr/local/bin/
rm -rf nnn-master/ master.tar.gz README.md