[misc] set bat color theme to gruvbox
This commit is contained in:
parent
cb3667ff8f
commit
7ba2800945
|
@ -22,6 +22,7 @@ if status is-interactive
|
||||||
set -gx LS_COLORS 'ow=34;42;40'
|
set -gx LS_COLORS 'ow=34;42;40'
|
||||||
|
|
||||||
# === bat configuration
|
# === bat configuration
|
||||||
|
set -gx BAT_THEME 'gruvbox'
|
||||||
set -gx MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
set -gx MANPAGER "sh -c 'col -bx | bat -l man -p'"
|
||||||
|
|
||||||
# === dict.sh configuration
|
# === dict.sh configuration
|
||||||
|
|
|
@ -11,9 +11,11 @@ case "$PM" in
|
||||||
sudo add-apt-repository ppa:fish-shell/release-3 -y
|
sudo add-apt-repository ppa:fish-shell/release-3 -y
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install fish libnotify-bin xdotool silversearcher-ag dash bat -y
|
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
|
~/.fzf/install --all
|
||||||
lnsf /usr/bin/batcat "$HOME/.local/bin/bat"
|
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)
|
pacman)
|
||||||
sudo pacman -S --needed --needed fish xdotool fzf the_silver_searcher dash bat
|
sudo pacman -S --needed --needed fish xdotool fzf the_silver_searcher dash bat
|
||||||
|
|
Loading…
Reference in New Issue
Block a user