[misc] set bat color theme to gruvbox

This commit is contained in:
Klesh Wong 2020-11-19 17:46:28 +08:00
parent cb3667ff8f
commit 7ba2800945
2 changed files with 4 additions and 1 deletions

View File

@ -22,6 +22,7 @@ if status is-interactive
set -gx LS_COLORS 'ow=34;42;40'
# === bat configuration
set -gx BAT_THEME 'gruvbox'
set -gx MANPAGER "sh -c 'col -bx | bat -l man -p'"
# === dict.sh configuration

View File

@ -11,9 +11,11 @@ case "$PM" in
sudo add-apt-repository ppa:fish-shell/release-3 -y
sudo apt update
sudo apt install fish libnotify-bin xdotool silversearcher-ag dash bat -y
[ ! -d ~/.fzf ] && git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
[ ! -d $HOME/.fzf ] && git clone --depth 1 https://github.com/junegunn/fzf.git $HOME/.fzf
~/.fzf/install --all
lnsf /usr/bin/batcat "$HOME/.local/bin/bat"
mkdir -p "$(bat --config-dir)/themes"
git clone --depth 1 https://github.com/peaceant/gruvbox.git "$(bat --config-dir)/themes/grubox"
;;
pacman)
sudo pacman -S --needed --needed fish xdotool fzf the_silver_searcher dash bat