diff --git a/fish/config/config.fish b/fish/config/config.fish index 187a1b6..3250598 100644 --- a/fish/config/config.fish +++ b/fish/config/config.fish @@ -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 diff --git a/fish/install.sh b/fish/install.sh index 8de7b55..7e40ad3 100755 --- a/fish/install.sh +++ b/fish/install.sh @@ -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