From 23d4f1bb83b3d2477004f11b1cb4c0b25cf0b305 Mon Sep 17 00:00:00 2001 From: afonso Date: Tue, 7 Jan 2025 16:34:09 +0000 Subject: [PATCH] [zsh] removed themes and conda --- .config/zsh/.zshrc | 22 ---- .config/zsh/themes/catppuccin_frappe.zsh | 104 ----------------- .config/zsh/themes/catppuccin_latte.zsh | 104 ----------------- .config/zsh/themes/gruvbox_dark.zsh | 136 ---------------------- .config/zsh/themes/gruvbox_light.zsh | 141 ----------------------- 5 files changed, 507 deletions(-) delete mode 100644 .config/zsh/themes/catppuccin_frappe.zsh delete mode 100644 .config/zsh/themes/catppuccin_latte.zsh delete mode 100644 .config/zsh/themes/gruvbox_dark.zsh delete mode 100644 .config/zsh/themes/gruvbox_light.zsh diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 34e0533..31c399d 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -18,34 +18,12 @@ export EDITOR=nvim export VISUAL=nvim export READER=mupdf -#THEME -source $ZDOTDIR/themes/gruvbox_dark.zsh - #Prompt source $ZDOTDIR/prompts/simple-two-line.zsh source $ZDOTDIR/functions.zsh source $ZDOTDIR/plugins.zsh -# >>> conda initialize >>> -# !! Contents within this block are managed by 'conda init' !! -__conda_setup="$('$HOME/.miniforge3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" -if [ $? -eq 0 ]; then - eval "$__conda_setup" -else - if [ -f "$HOME/.miniforge3/etc/profile.d/conda.sh" ]; then - . "$HOME/.miniforge3/etc/profile.d/conda.sh" - else - export PATH="$HOME/.miniforge3/bin:$PATH" - fi -fi -unset __conda_setup - -if [ -f "$HOME/.miniforge3/etc/profile.d/mamba.sh" ]; then - . "$HOME/.miniforge3/etc/profile.d/mamba.sh" -fi -# <<< conda initialize <<< - if [[ $(uname) == "Darwin" ]]; then eval "$(/opt/homebrew/bin/brew shellenv)" fi diff --git a/.config/zsh/themes/catppuccin_frappe.zsh b/.config/zsh/themes/catppuccin_frappe.zsh deleted file mode 100644 index 023ad23..0000000 --- a/.config/zsh/themes/catppuccin_frappe.zsh +++ /dev/null @@ -1,104 +0,0 @@ -# Catppuccin Frappe Theme (for zsh-syntax-highlighting) -# -# Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting -ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) -typeset -gA ZSH_HIGHLIGHT_STYLES - -# Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md -# -## General -### Diffs -### Markup -## Classes -## Comments -ZSH_HIGHLIGHT_STYLES[comment]='fg=#626880' -## Constants -## Entitites -## Functions/methods -ZSH_HIGHLIGHT_STYLES[alias]='fg=#a6d189' -ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#a6d189' -ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#a6d189' -ZSH_HIGHLIGHT_STYLES[function]='fg=#a6d189' -ZSH_HIGHLIGHT_STYLES[command]='fg=#a6d189' -ZSH_HIGHLIGHT_STYLES[precommand]='fg=#a6d189,italic' -ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#ef9f76,italic' -ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#ef9f76' -ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#ef9f76' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#ca9ee6' -## Keywords -## Built ins -ZSH_HIGHLIGHT_STYLES[builtin]='fg=#a6d189' -ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#a6d189' -ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#a6d189' -## Punctuation -ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#e78284' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#e78284' -ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#e78284' -ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#e78284' -## Serializable / Configuration Languages -## Storage -## Strings -ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#e5c890' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#e5c890' -ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#e5c890' -ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#ea999c' -ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#e5c890' -ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#ea999c' -ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#e5c890' -## Variables -ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#ea999c' -ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[assign]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#c6d0f5' -## No category relevant in spec -ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#ea999c' -ZSH_HIGHLIGHT_STYLES[path]='fg=#c6d0f5,underline' -ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#e78284,underline' -ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#c6d0f5,underline' -ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#e78284,underline' -ZSH_HIGHLIGHT_STYLES[globbing]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#ca9ee6' -#ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' -#ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' -#ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' -#ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#ea999c' -ZSH_HIGHLIGHT_STYLES[redirection]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[arg0]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[default]='fg=#c6d0f5' -ZSH_HIGHLIGHT_STYLES[cursor]='fg=#c6d0f5' - -#Pure prompt -# Define cappuccin frappe colors -pure_prompt_colors() { - local colors - colors=( - execution_time='%F{#bdae93}' # The execution time of the last command when exceeding PURE_CMD_MAX_EXEC_TIME. - git:arrow='%F{#bdae93}' # For PURE_GIT_UP_ARROW and PURE_GIT_DOWN_ARROW. - git:stash='%F{#bdae93}' # For PURE_GIT_STASH_SYMBOL. - git:branch='%F{#98971a}' # The name of the current branch when in a Git repository. - git:branch:cached='%F{#cc241d}' # The name of the current branch when the data isn't fresh. - git:action='%F{#b16286}' # The current action in progress (cherry-pick, rebase, etc.) when in a Git repository. - git:dirty='%F{#d65d0e}' # The asterisk showing the branch is dirty. - host='%F{#7c6f64}' # The hostname when on a remote machine. - path='%F{#458588}' # The current path, for example, PWD. - prompt:error='%F{#fb4934}' # The PURE_PROMPT_SYMBOL when the previous command has failed. - prompt:success='%F{#98971a}' # The PURE_PROMPT_SYMBOL when the previous command has succeeded. - prompt:continuation='%F{#b16286}' # The color for showing the state of the parser in the continuation prompt (PS2). - suspended_jobs='%F{#fb4934}' # The ✦ symbol indicates that jobs are running in the background. - user='%F{#7c6f64}' # The username when on remote machine. - user:root='%F{default}' # The username when the user is root. - virtualenv='%F{#b16286}' # The name of the Python virtualenv when in use. - ) - (( $#colors )) || echo $colors -} - -# Apply cappuccin frappe colors to Zsh Pure prompt -for color in $(pure_prompt_colors); do - zstyle ":prompt:pure:$color" color "$color" -done diff --git a/.config/zsh/themes/catppuccin_latte.zsh b/.config/zsh/themes/catppuccin_latte.zsh deleted file mode 100644 index 7b9c6c5..0000000 --- a/.config/zsh/themes/catppuccin_latte.zsh +++ /dev/null @@ -1,104 +0,0 @@ -# Catppuccin Latte Theme (for zsh-syntax-highlighting) -# -# Paste this files contents inside your ~/.zshrc before you activate zsh-syntax-highlighting -ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) -typeset -gA ZSH_HIGHLIGHT_STYLES - -# Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md -# -## General -### Diffs -### Markup -## Classes -## Comments -ZSH_HIGHLIGHT_STYLES[comment]='fg=#acb0be' -## Constants -## Entitites -## Functions/methods -ZSH_HIGHLIGHT_STYLES[alias]='fg=#40a02b' -ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#40a02b' -ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#40a02b' -ZSH_HIGHLIGHT_STYLES[function]='fg=#40a02b' -ZSH_HIGHLIGHT_STYLES[command]='fg=#40a02b' -ZSH_HIGHLIGHT_STYLES[precommand]='fg=#40a02b,italic' -ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#fe640b,italic' -ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#fe640b' -ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#fe640b' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#8839ef' -## Keywords -## Built ins -ZSH_HIGHLIGHT_STYLES[builtin]='fg=#40a02b' -ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#40a02b' -ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#40a02b' -## Punctuation -ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#d20f39' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#d20f39' -ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#d20f39' -ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#d20f39' -## Serializable / Configuration Languages -## Storage -## Strings -ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#df8e1d' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#df8e1d' -ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#df8e1d' -ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#e64553' -ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#df8e1d' -ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#e64553' -ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#df8e1d' -## Variables -ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#e64553' -ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[assign]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#4c4f69' -## No category relevant in spec -ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#e64553' -ZSH_HIGHLIGHT_STYLES[path]='fg=#4c4f69,underline' -ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#d20f39,underline' -ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#4c4f69,underline' -ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#d20f39,underline' -ZSH_HIGHLIGHT_STYLES[globbing]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#8839ef' -#ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' -#ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' -#ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' -#ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#e64553' -ZSH_HIGHLIGHT_STYLES[redirection]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[arg0]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[default]='fg=#4c4f69' -ZSH_HIGHLIGHT_STYLES[cursor]='fg=#4c4f69' - -#Pure prompt -# Define cappuccin latte colors -pure_prompt_colors() { - local colors - colors=( - execution_time='%F{#bdae93}' # The execution time of the last command when exceeding PURE_CMD_MAX_EXEC_TIME. - git:arrow='%F{#458588}' # For PURE_GIT_UP_ARROW and PURE_GIT_DOWN_ARROW. - git:stash='%F{#bdae93}' # For PURE_GIT_STASH_SYMBOL. - git:branch='%F{#98971a}' # The name of the current branch when in a Git repository. - git:branch:cached='%F{#cc241d}' # The name of the current branch when the data isn't fresh. - git:action='%F{#b16286}' # The current action in progress (cherry-pick, rebase, etc.) when in a Git repository. - git:dirty='%F{#d65d0e}' # The asterisk showing the branch is dirty. - host='%F{#7c6f64}' # The hostname when on a remote machine. - path='%F{#458588}' # The current path, for example, PWD. - prompt:error='%F{#cc241d}' # The PURE_PROMPT_SYMBOL when the previous command has failed. - prompt:success='%F{#98971a}' # The PURE_PROMPT_SYMBOL when the previous command has succeeded. - prompt:continuation='%F{#b16286}' # The color for showing the state of the parser in the continuation prompt (PS2). - suspended_jobs='%F{#cc241d}' # The ✦ symbol indicates that jobs are running in the background. - user='%F{#7c6f64}' # The username when on remote machine. - user:root='%F{default}' # The username when the user is root. - virtualenv='%F{#b16286}' # The name of the Python virtualenv when in use. - ) - (( $#colors )) || echo $colors -} - -# Apply cappuccin latte colors to Zsh Pure prompt -for color in $(pure_prompt_colors); do - zstyle ":prompt:pure:$color" color "$color" -done diff --git a/.config/zsh/themes/gruvbox_dark.zsh b/.config/zsh/themes/gruvbox_dark.zsh deleted file mode 100644 index 6d6c86b..0000000 --- a/.config/zsh/themes/gruvbox_dark.zsh +++ /dev/null @@ -1,136 +0,0 @@ -# Gruvbox Material Dark Medium Theme (for zsh-syntax-highlighting) -# -# Paste this file's contents inside your ~/.zshrc before you activate zsh-syntax-highlighting -ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) -typeset -gA ZSH_HIGHLIGHT_STYLES - -# Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md -# -## General -### Diffs -### Markup -## Classes -## Comments -ZSH_HIGHLIGHT_STYLES[comment]='fg=#928374' -## Constants -## Entitites -## Functions/methods -ZSH_HIGHLIGHT_STYLES[alias]='fg=#b8bb26' -ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#b8bb26' -ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#b8bb26' -ZSH_HIGHLIGHT_STYLES[function]='fg=#b8bb26' -ZSH_HIGHLIGHT_STYLES[command]='fg=#b8bb26' -ZSH_HIGHLIGHT_STYLES[precommand]='fg=#b8bb26,italic' -ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#fe8019,italic' -ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#fe8019' -ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#fe8019' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#d3869b' -## Keywords -## Built ins -ZSH_HIGHLIGHT_STYLES[builtin]='fg=#b8bb26' -ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#b8bb26' -ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#b8bb26' -## Punctuation -ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#d4be98' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#ebdbb2' -ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#ebdbb2' -ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#ebdbb2' -## Serializable / Configuration Languages -## Storage -## Strings -ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#fabd2f' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#fabd2f' -ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#fb4934' -ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#fb4934' -ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#83a598' -## Variables -ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#fb4934' -ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[assign]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#83a598' -## No category relevant in spec -ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#fb4934' -ZSH_HIGHLIGHT_STYLES[path]='fg=#83a598,underline' -ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#d4be98,underline' -ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#83a598,underline' -ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#d4be98,underline' -ZSH_HIGHLIGHT_STYLES[globbing]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#d3869b' -#ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' -#ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' -#ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' -#ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#fb4934' -ZSH_HIGHLIGHT_STYLES[redirection]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[arg0]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[default]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[cursor]='fg=#83a598' -#ZSH Syntax Highlighting -ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#928374,italic,underline" - -#Pure prompt -# Define gruvbox dark colors -pure_prompt_colors() { - local colors - colors=( - execution_time='%F{#fabd2f}' # The execution time of the last command when exceeding PURE_CMD_MAX_EXEC_TIME. - git:arrow='%F{#83a598}' # For PURE_GIT_UP_ARROW and PURE_GIT_DOWN_ARROW. - git:stash='%F{#83a598}' # For PURE_GIT_STASH_SYMBOL. - git:branch='%F{#b8bb26}' # The name of the current branch when in a Git repository. - git:branch:cached='%F{#fb4934}' # The name of the current branch when the data isn't fresh. - git:action='%F{#d3869b}' # The current action in progress (cherry-pick, rebase, etc.) when in a Git repository. - git:dirty='%F{#fe8019}' # The asterisk showing the branch is dirty. - host='%F{#ebdbb2}' # The hostname when on a remote machine. - path='%F{#83a598}' # The current path, for example, PWD. - prompt:error='%F{#fb4934}' # The PURE_PROMPT_SYMBOL when the previous command has failed. - prompt:success='%F{#b16286}' # The PURE_PROMPT_SYMBOL when the previous command has succeeded. - prompt:continuation='%F{#d3869b}' # The color for showing the state of the parser in the continuation prompt (PS2). - suspended_jobs='%F{#fb4934}' # The ✦ symbol indicates that jobs are running in the background. - user='%F{#ebdbb2}' # The username when on remote machine. - user:root='%F{default}' # The username when the user is root. - virtualenv='%F{#d3869b}' # The name of the Python virtualenv when in use. - ) - (( $#colors )) || echo $colors -} - -# FZF -# # Scheme name: Gruvbox dark, hard -# Scheme system: base16 -# Scheme author: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) -# Template author: Tinted Theming (https://github.com/tinted-theming) - -_gen_fzf_default_opts() { - -local color00='#1d2021' -local color01='#3c3836' -local color02='#504945' -local color03='#665c54' -local color04='#bdae93' -local color05='#d5c4a1' -local color06='#ebdbb2' -local color07='#fbf1c7' -local color08='#fb4934' -local color09='#fe8019' -local color0A='#fabd2f' -local color0B='#b8bb26' -local color0C='#8ec07c' -local color0D='#83a598' -local color0E='#d3869b' -local color0F='#d65d0e' - -export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS"\ -" --color=bg+:$color01,bg:$color00,spinner:$color0C,hl:$color0D"\ -" --color=fg:$color04,header:$color0D,info:$color0A,pointer:$color0C"\ -" --color=marker:$color0C,fg+:$color06,prompt:$color0A,hl+:$color0D" - -} - -_gen_fzf_default_opts - diff --git a/.config/zsh/themes/gruvbox_light.zsh b/.config/zsh/themes/gruvbox_light.zsh deleted file mode 100644 index 5a0c624..0000000 --- a/.config/zsh/themes/gruvbox_light.zsh +++ /dev/null @@ -1,141 +0,0 @@ -# Gruvbox Light Theme (for zsh-syntax-highlighting) -# -# Paste this file's contents inside your ~/.zshrc before you activate zsh-syntax-highlighting -ZSH_HIGHLIGHT_HIGHLIGHTERS=(main cursor) -typeset -gA ZSH_HIGHLIGHT_STYLES - -# Main highlighter styling: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md -# -## General -### Diffs -### Markup -## Classes -## Comments -ZSH_HIGHLIGHT_STYLES[comment]='fg=#928374' -## Constants -## Entitites -## Functions/methods -ZSH_HIGHLIGHT_STYLES[alias]='fg=#8ec07c' -ZSH_HIGHLIGHT_STYLES[suffix-alias]='fg=#8ec07c' -ZSH_HIGHLIGHT_STYLES[global-alias]='fg=#8ec07c' -ZSH_HIGHLIGHT_STYLES[function]='fg=#8ec07c' -ZSH_HIGHLIGHT_STYLES[command]='fg=#8ec07c' -ZSH_HIGHLIGHT_STYLES[precommand]='fg=#8ec07c,italic' -ZSH_HIGHLIGHT_STYLES[autodirectory]='fg=#fe8019,italic' -ZSH_HIGHLIGHT_STYLES[single-hyphen-option]='fg=#fe8019' -ZSH_HIGHLIGHT_STYLES[double-hyphen-option]='fg=#fe8019' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument]='fg=#d3869b' -## Keywords -## Built ins -ZSH_HIGHLIGHT_STYLES[builtin]='fg=#8ec07c' -ZSH_HIGHLIGHT_STYLES[reserved-word]='fg=#8ec07c' -ZSH_HIGHLIGHT_STYLES[hashed-command]='fg=#8ec07c' -## Punctuation -ZSH_HIGHLIGHT_STYLES[commandseparator]='fg=#fabd2f' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-unquoted]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[process-substitution-delimiter]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument-delimiter]='fg=#ebdbb2' -ZSH_HIGHLIGHT_STYLES[back-double-quoted-argument]='fg=#ebdbb2' -ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]='fg=#ebdbb2' -## Serializable / Configuration Languages -## Storage -## Strings -ZSH_HIGHLIGHT_STYLES[command-substitution-quoted]='fg=#fabd2f' -ZSH_HIGHLIGHT_STYLES[command-substitution-delimiter-quoted]='fg=#fabd2f' -ZSH_HIGHLIGHT_STYLES[single-quoted-argument]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[single-quoted-argument-unclosed]='fg=#fb4934' -ZSH_HIGHLIGHT_STYLES[double-quoted-argument]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[double-quoted-argument-unclosed]='fg=#fb4934' -ZSH_HIGHLIGHT_STYLES[rc-quote]='fg=#83a598' -## Variables -ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[dollar-quoted-argument-unclosed]='fg=#fb4934' -ZSH_HIGHLIGHT_STYLES[dollar-double-quoted-argument]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[assign]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[named-fd]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[numeric-fd]='fg=#83a598' -## No category relevant in spec -ZSH_HIGHLIGHT_STYLES[unknown-token]='fg=#fb4934' -ZSH_HIGHLIGHT_STYLES[path]='fg=#83a598,underline' -ZSH_HIGHLIGHT_STYLES[path_pathseparator]='fg=#fabd2f,underline' -ZSH_HIGHLIGHT_STYLES[path_prefix]='fg=#83a598,underline' -ZSH_HIGHLIGHT_STYLES[path_prefix_pathseparator]='fg=#fabd2f,underline' -ZSH_HIGHLIGHT_STYLES[globbing]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[history-expansion]='fg=#d3869b' -#ZSH_HIGHLIGHT_STYLES[command-substitution]='fg=?' -#ZSH_HIGHLIGHT_STYLES[command-substitution-unquoted]='fg=?' -#ZSH_HIGHLIGHT_STYLES[process-substitution]='fg=?' -#ZSH_HIGHLIGHT_STYLES[arithmetic-expansion]='fg=?' -ZSH_HIGHLIGHT_STYLES[back-quoted-argument-unclosed]='fg=#fb4934' -ZSH_HIGHLIGHT_STYLES[redirection]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[arg0]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[default]='fg=#83a598' -ZSH_HIGHLIGHT_STYLES[cursor]='fg=#83a598' - -#Pure prompt -# Define gruvbox light colors -pure_prompt_colors() { - local colors - colors=( - execution_time='%F{#d65d0e}' # The execution time of the last command when exceeding PURE_CMD_MAX_EXEC_TIME. - git:arrow='%F{#458588}' # For PURE_GIT_UP_ARROW and PURE_GIT_DOWN_ARROW. - git:stash='%F{#458588}' # For PURE_GIT_STASH_SYMBOL. - git:branch='%F{#98971a}' # The name of the current branch when in a Git repository. - git:branch:cached='%F{#cc241d}' # The name of the current branch when the data isn't fresh. - git:action='%F{#b16286}' # The current action in progress (cherry-pick, rebase, etc.) when in a Git repository. - git:dirty='%F{#d65d0e}' # The asterisk showing the branch is dirty. - host='%F{#3c3836}' # The hostname when on a remote machine. - path='%F{#458588}' # The current path, for example, PWD. - prompt:error='%F{#cc241d}' # The PURE_PROMPT_SYMBOL when the previous command has failed. - prompt:success='%F{#b16286}' # The PURE_PROMPT_SYMBOL when the previous command has succeeded. - prompt:continuation='%F{#b16286}' # The color for showing the state of the parser in the continuation prompt (PS2). - suspended_jobs='%F{#cc241d}' # The ✦ symbol indicates that jobs are running in the background. - user='%F{#3c3836}' # The username when on remote machine. - user:root='%F{default}' # The username when the user is root. - virtualenv='%F{#b16286}' # The name of the Python virtualenv when in use. - ) - (( $#colors )) || echo $colors -} - -# Apply gruvbox light colors to Zsh Pure prompt -for color in $(pure_prompt_colors); do - zstyle ":prompt:pure:$color" color "$color" -done - - -#FZF -# Scheme name: Gruvbox light, soft -# Scheme system: base16 -# Scheme author: Dawid Kurek (dawikur@gmail.com), morhetz (https://github.com/morhetz/gruvbox) -# Template author: Tinted Theming (https://github.com/tinted-theming) - -_gen_fzf_default_opts() { - -local color00='#f2e5bc' -local color01='#ebdbb2' -local color02='#d5c4a1' -local color03='#bdae93' -local color04='#665c54' -local color05='#504945' -local color06='#3c3836' -local color07='#282828' -local color08='#9d0006' -local color09='#af3a03' -local color0A='#b57614' -local color0B='#79740e' -local color0C='#427b58' -local color0D='#076678' -local color0E='#8f3f71' -local color0F='#d65d0e' - -export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS"\ -" --color=bg+:$color01,bg:$color00,spinner:$color0C,hl:$color0D"\ -" --color=fg:$color04,header:$color0D,info:$color0A,pointer:$color0C"\ -" --color=marker:$color0C,fg+:$color06,prompt:$color0A,hl+:$color0D" - -zstyle ":fzf-tab:*" fzf-flags - -} - -_gen_fzf_default_opts