dotfiles/ranger/install.sh
2020-09-17 10:42:43 +00:00

18 lines
292 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
lnsf $DIR/config ~/.config/ranger