diff --git a/install.sh b/install.sh index cd2bef6..c7f66d8 100644 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ set -e # Print a step description -TOTAL_STEPS=9 +TOTAL_STEPS=10 STEP=1 function step_msg { printf "\033[36;1m[%s/%s] %s...\033[0m\n" "$STEP" "$TOTAL_STEPS" "$1"; @@ -95,6 +95,12 @@ step_msg "Setting up the zsh as default shell" echo "$(brew --prefix)/bin/zsh" | sudo tee -a /etc/shells >/dev/null sudo chsh -s "$(brew --prefix)/bin/zsh" "$USER" +# -- Set up the bat theme ------------------------------------------------------ +step_msg "Setting up the bat theme" +mkdir -p "$(bat --config-dir)/themes" +cd "$(bat --config-dir)/themes" && curl --remote-name-all https://raw.githubusercontent.com/rose-pine/tm-theme/main/dist/themes/rose-pine{,-dawn,-moon}.tmTheme >/dev/null +bat cache --build + # -- Git ----------------------------------------------------------------------- step_msg "Configuring Git" git config --global user.email "$GIT_EMAIL" diff --git a/iterm/rose-pine-moon.itermcolors b/iterm/rose-pine-moon.itermcolors new file mode 100644 index 0000000..d7b6e55 --- /dev/null +++ b/iterm/rose-pine-moon.itermcolors @@ -0,0 +1,259 @@ + + + + + Ansi 0 Color + + Color Space + sRGB + Blue Component + 0.3215686274509804 + Green Component + 0.20784313725490197 + Red Component + 0.2235294117647059 + + Ansi 1 Color + + Color Space + sRGB + Blue Component + 0.5725490196078431 + Green Component + 0.43529411764705883 + Red Component + 0.9215686274509803 + + Ansi 10 Color + + Color Space + sRGB + Blue Component + 0.8470588235294118 + Green Component + 0.8117647058823529 + Red Component + 0.611764705882353 + + Ansi 11 Color + + Color Space + sRGB + Blue Component + 0.4666666666666667 + Green Component + 0.7568627450980392 + Red Component + 0.9647058823529412 + + Ansi 12 Color + + Color Space + sRGB + Blue Component + 0.6901960784313725 + Green Component + 0.5607843137254902 + Red Component + 0.24313725490196078 + + Ansi 13 Color + + Color Space + sRGB + Blue Component + 0.9058823529411765 + Green Component + 0.6549019607843137 + Red Component + 0.7686274509803922 + + Ansi 14 Color + + Color Space + sRGB + Blue Component + 0.592156862745098 + Green Component + 0.6039215686274509 + Red Component + 0.9176470588235294 + + Ansi 15 Color + + Color Space + sRGB + Blue Component + 0.9568627450980393 + Green Component + 0.8705882352941177 + Red Component + 0.8784313725490196 + + Ansi 2 Color + + Color Space + sRGB + Blue Component + 0.8470588235294118 + Green Component + 0.8117647058823529 + Red Component + 0.611764705882353 + + Ansi 3 Color + + Color Space + sRGB + Blue Component + 0.4666666666666667 + Green Component + 0.7568627450980392 + Red Component + 0.9647058823529412 + + Ansi 4 Color + + Color Space + sRGB + Blue Component + 0.6901960784313725 + Green Component + 0.5607843137254902 + Red Component + 0.24313725490196078 + + Ansi 5 Color + + Color Space + sRGB + Blue Component + 0.9058823529411765 + Green Component + 0.6549019607843137 + Red Component + 0.7686274509803922 + + Ansi 6 Color + + Color Space + sRGB + Blue Component + 0.592156862745098 + Green Component + 0.6039215686274509 + Red Component + 0.9176470588235294 + + Ansi 7 Color + + Color Space + sRGB + Blue Component + 0.9568627450980393 + Green Component + 0.8705882352941177 + Red Component + 0.8784313725490196 + + Ansi 8 Color + + Color Space + sRGB + Blue Component + 0.5254901960784314 + Green Component + 0.41568627450980394 + Red Component + 0.43137254901960786 + + Ansi 9 Color + + Color Space + sRGB + Blue Component + 0.5725490196078431 + Green Component + 0.43529411764705883 + Red Component + 0.9215686274509803 + + Background Color + + Color Space + sRGB + Blue Component + 0.21176470588235294 + Green Component + 0.12941176470588237 + Red Component + 0.13725490196078433 + + Bold Color + + Color Space + sRGB + Blue Component + 0.9568627450980393 + Green Component + 0.8705882352941177 + Red Component + 0.8784313725490196 + + Cursor Color + + Color Space + sRGB + Blue Component + 0.9568627450980393 + Green Component + 0.8705882352941177 + Red Component + 0.8784313725490196 + + Cursor Text Color + + Color Space + sRGB + Blue Component + 0.21176470588235294 + Green Component + 0.12941176470588237 + Red Component + 0.13725490196078433 + + Foreground Color + + Color Space + sRGB + Blue Component + 0.9568627450980393 + Green Component + 0.8705882352941177 + Red Component + 0.8784313725490196 + + Selected Text Color + + Color Space + sRGB + Blue Component + 0.9568627450980393 + Green Component + 0.8705882352941177 + Red Component + 0.8784313725490196 + + Selection Color + + Color Space + sRGB + Blue Component + 0.21176470588235294 + Green Component + 0.12941176470588237 + Red Component + 0.13725490196078433 + + + diff --git a/zsh/.zshrc b/zsh/.zshrc index 2bf8199..35c3f8a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -158,7 +158,7 @@ eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" ### Bat (better cat) -export BAT_THEME=tokyonight_moon +export BAT_THEME=rose-pine-moon ### fzf configuration eval "$(fzf --zsh)" @@ -200,3 +200,5 @@ alias dotfiles="code ~/.dotfiles" ### Zoxide (better cd) alias cd="z" + +alias cat="bat"