From 9194648e9ac0db6760b7586e6eabacd2c959f473 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Wed, 31 Jan 2024 21:10:56 +0100 Subject: [PATCH] Add Catppuccin for Pygments and force ccat to use Pygments --- .env | 2 ++ .init_config.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.env b/.env index ad13920..76bf872 100644 --- a/.env +++ b/.env @@ -6,3 +6,5 @@ export PATH="$PATH:/home/go/bin:/usr/local/.local/bin:~/node_modules/.bin" # system on another partition than user data, so that copying between partitions is denied by gio. # another solution is to link $XDG_DATA_HOME/Trash somewhere on the same partition as user data export ELECTRON_TRASH="trash-cli" +export ZSH_COLORIZE_TOOL="pygmentize" +export ZSH_COLORIZE_STYLE="catppuccin-macchiato" diff --git a/.init_config.sh b/.init_config.sh index 7e19a3a..b6677ca 100755 --- a/.init_config.sh +++ b/.init_config.sh @@ -133,6 +133,8 @@ if [ ! -z "$INIT" ]; then echo -e "\tFor gtk..." # Change icon color for Papirus Icon Theme papirus-folders -C cat-latte-flamingo --theme Papirus-Dark + echo -e "\tFor Pygments..." + pip install --break-system-packages 'catppuccin[pygments]' # Basic directory structure echo -e "* Create base home directories..." mkdir -p ~/documents ~/images/screenshots ~/videos ~/downloads