improved colorscheme setup

This commit is contained in:
Léana 江 2023-02-11 14:39:05 +01:00
parent 0afdb12d5e
commit 01458069c1
11 changed files with 76 additions and 952 deletions

View file

@ -1,38 +1,55 @@
set -gx fish_color_normal normal
set -gx fish_color_command ffffff
set -gx fish_color_quote ffd75f
set -gx fish_color_redirection ff005f --bold
set -gx fish_color_end ffd7af
set -gx fish_color_error brred
set -gx fish_color_param d7d7ff
set -gx fish_color_comment 00afff
set -gx fish_color_match --background=brblue
set -gx fish_color_selection white --bold --background=brblack
set -gx fish_color_search_match bryellow --background=brblack
set -gx fish_color_history_current --bold
set -gx fish_color_operator brcyan
set -gx fish_color_escape brcyan
set -gx fish_color_cwd green
set -gx fish_color_cwd_root red
set -gx fish_color_valid_path --underline
set -gx fish_color_autosuggestion 878787
set -gx fish_color_user brgreen
set -gx fish_color_host normal
set -gx fish_color_cancel --reverse
set -gx fish_pager_color_background
set -gx fish_pager_color_prefix normal --bold --underline
set -gx fish_pager_color_progress brwhite --background=cyan
set -gx fish_pager_color_completion normal
set -gx fish_pager_color_description B3A06D --italics
set -gx fish_pager_color_selected_background --reverse
set -gx fish_pager_color_selected_prefix
set -gx fish_pager_color_selected_completion
set -gx fish_pager_color_selected_description
set -gx fish_pager_color_secondary_prefix
set -gx fish_color_keyword
set -gx fish_pager_color_secondary_description
set -gx fish_pager_color_secondary_background
set -gx fish_color_host_remote
set -gx fish_pager_color_secondary_completion
set -gx fish_color_option
# Learn more: https://fishshell.com/docs/current/interactive.html
## General
# Default color
set -gx fish_color_normal normal
# Commands (binary)
set -gx fish_color_command 000000 #black
# Regular command parameters
set -gx fish_color_param 875fff #purple
# Quoted blocks of text
set -gx fish_color_quote ff5f00 #orange
# IO redirections
set -gx fish_color_redirection d78700 #caramel
# Process separators like ';' and '&'
set -gx fish_color_end d78700 #caramel
# The color used to highlight potential errors (invalid command)
set -gx fish_color_error c82829 #crimson
# Code comments
set -gx fish_color_comment a8a8a8 #grey
# Highlight matching parenthesis
set -gx fish_color_match --background=brblue
# Used in `dirh` https://fishshell.com/docs/current/cmds/dirh.html
set -gx fish_color_history_current --italics --bold
# Parameter expansion operators like `*` and `~`
set -gx fish_color_operator 00a6b2 #teal
# Character escapes like \n
set -gx fish_color_escape 00a6b2 #teal
# Parameters that are filenames (if the file exists)
set -gx fish_color_valid_path --underline
# Autosuggestion
set -gx fish_color_autosuggestion d7afff #violet
# The `^C` indicator on a canceled command
set -gx fish_color_cancel ff5f00 --reverse #orange
## Prompt (useless with starship)
# The current working directory in the default prompt
set -gx fish_color_cwd normal
# The current working directory in the default prompt for the root user
set -gx fish_color_cwd_root normal
# The username in the default prompt
set -gx fish_color_user normal
# The hostname in the default prompt
set -gx fish_color_host normal
## Pager
# The progress bar at the bottom left corner
set -gx fish_pager_color_progress 00a6b2 --reverse #teal
# The prefix string, i.e. the string that is to be completed
set -gx fish_pager_color_prefix --bold --underline
# The completion itself, i.e. the proposed rest of the string
set -gx fish_pager_color_completion normal
# The completion description
set -gx fish_pager_color_description d78700 --italics #caramel
# Background of the selected completion
set -gx fish_pager_color_selected_background --reverse

View file

@ -1,4 +1,4 @@
function fish_greeting
set_color d7d7ff -oi
set_color $fish_color_param --bold --italics
cat ~/TOH-Quotes/* | shuf -n 1
end

View file

@ -1,6 +1,6 @@
function sync_notes
echo ===== (date) =====
rsync -r -v --chown=caddy:caddy --chmod=u=rwX,g=rX,o=rX --exclude ".DS_Store" --update --times --compress --delay-updates \
rsync --recursive --verbose --chown=caddy:caddy --chmod=u=rwX,g=rX,o=rX --exclude=".DS_Store" --update --times --compress --delay-updates --delete \
/Users/leana/Documents/Rennes\ 1/L2/Prise\ de\ notes/ \
earth2077.fr:/srv/http/notes/
end