[misc] use solarized_dark for ranger highlighting

This commit is contained in:
Klesh Wong 2020-09-30 16:24:29 +08:00
parent 5df82c181e
commit 09a0dcf985
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ set -gx PGDATA /usr/local/var/postgres
set -gx LESS "-SRXF" set -gx LESS "-SRXF"
set -gx LS_COLORS 'ow=34;42;40' set -gx LS_COLORS 'ow=34;42;40'
set -gx nvm_mirror http://npm.taobao.org/mirrors/node set -gx nvm_mirror http://npm.taobao.org/mirrors/node
set -gx HIGHLIGHT_OPTIONS --style=solarized-dark
function append-path-if-exists function append-path-if-exists
if test -e $argv if test -e $argv

View File

@ -7,12 +7,12 @@ DIR=$(readlink -f $(dirname $0))
case "$PM" in case "$PM" in
apt) apt)
# atool/p7zip-full for archive previewing/extracting etc # atool/p7zip-full for archive previewing/extracting etc
sudo apt install -y atool p7zip-full unrar sudo apt install -y atool p7zip-full unrar highlight
! which pip3 && $ROOT/python/install.sh ! which pip3 && $ROOT/python/install.sh
sudo pip3 install ranger-fm ueberzug sudo pip3 install ranger-fm ueberzug
;; ;;
pacman) pacman)
sudo pip install ranger-fm ueberzug atool p7zip unrar sudo pip install ranger-fm ueberzug atool p7zip unrar highlight
;; ;;
esac esac