dotfiles/ranger/install.sh

16 lines
257 B
Bash
Executable File

#!/bin/bash
DIR=$(readlink -f $(dirname $0))
. $DIR/../env.sh
# install ranger
case "$PM" in
apt)
! which pip3 && $ROOT/python/install.sh
sudo pip3 install ranger-fm
;;
pacman)
sudo pacman -S ranger
;;
esac