diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index 62fcf4b..ef1a1d6 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -39,28 +39,5 @@ else if test "$host" = "lovelace" end if status is-interactive - function source_env - if not test -f .env - echo "No .env file found in current directory" - return 1 - end - - for line in (cat .env) - set line (string trim -- $line) - # Skip empty lines and comments - if test -z "$line" -o (string sub --start 1 --length 1 "$line") = "#" - continue - end - # Check if line contains = - if string match -q "*=*" "$line" - set parts (string split -m1 '=' "$line") - set var_name $parts[1] - set var_value $parts[2] - # Remove surrounding quotes if present - set var_value (string trim --chars='"' "$var_value") - set var_value (string trim --chars="'" "$var_value") - set -x $var_name $var_value - end - end - end + fish_config theme choose "Rosé Pine" end diff --git a/fish/.config/fish/fish_plugins b/fish/.config/fish/fish_plugins index a636992..6baeb72 100644 --- a/fish/.config/fish/fish_plugins +++ b/fish/.config/fish/fish_plugins @@ -1,3 +1,4 @@ jorgebucaran/fisher ilancosman/tide@v6 berk-karaal/loadenv.fish +rose-pine/fish diff --git a/fish/.config/fish/themes/Rosé Pine Dawn.theme b/fish/.config/fish/themes/Rosé Pine Dawn.theme new file mode 100644 index 0000000..6d53a41 --- /dev/null +++ b/fish/.config/fish/themes/Rosé Pine Dawn.theme @@ -0,0 +1,51 @@ +# syntax highlighting variables +# https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables +fish_color_normal 575279 +fish_color_command 907aa9 +fish_color_keyword 56949f +fish_color_quote ea9d34 +fish_color_redirection 286983 +fish_color_end 797593 +fish_color_error b4637a +fish_color_param d7827e +fish_color_comment 797593 +# fish_color_match --background=brblue +fish_color_selection --reverse +# fish_color_history_current --bold +fish_color_operator 575279 +fish_color_escape 286983 +fish_color_autosuggestion 797593 +fish_color_cwd d7827e +# fish_color_cwd_root red +fish_color_user ea9d34 +fish_color_host 56949f +fish_color_host_remote 907aa9 +fish_color_cancel 575279 +fish_color_search_match --background=faf4ed +fish_color_valid_path + +# pager color variables +# https://fishshell.com/docs/current/interactive.html#pager-color-variables +fish_pager_color_progress d7827e +fish_pager_color_background --background=fffaf3 +fish_pager_color_prefix 56949f +fish_pager_color_completion 797593 +fish_pager_color_description 797593 +fish_pager_color_secondary_background +fish_pager_color_secondary_prefix +fish_pager_color_secondary_completion +fish_pager_color_secondary_description +fish_pager_color_selected_background --background=f2e9e1 +fish_pager_color_selected_prefix 56949f +fish_pager_color_selected_completion 575279 +fish_pager_color_selected_description 575279 + +# custom color variables +fish_color_subtle 797593 +fish_color_text 575279 +fish_color_love b4637a +fish_color_gold ea9d34 +fish_color_rose d7827e +fish_color_pine 286983 +fish_color_foam 56949f +fish_color_iris 907aa9 diff --git a/fish/.config/fish/themes/Rosé Pine Moon.theme b/fish/.config/fish/themes/Rosé Pine Moon.theme new file mode 100644 index 0000000..5d6d506 --- /dev/null +++ b/fish/.config/fish/themes/Rosé Pine Moon.theme @@ -0,0 +1,51 @@ +# syntax highlighting variables +# https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables +fish_color_normal e0def4 +fish_color_command c4a7e7 +fish_color_keyword 9ccfd8 +fish_color_quote f6c177 +fish_color_redirection 3e8fb0 +fish_color_end 908caa +fish_color_error eb6f92 +fish_color_param ea9a97 +fish_color_comment 908caa +# fish_color_match --background=brblue +fish_color_selection --reverse +# fish_color_history_current --bold +fish_color_operator e0def4 +fish_color_escape 3e8fb0 +fish_color_autosuggestion 908caa +fish_color_cwd ea9a97 +# fish_color_cwd_root red +fish_color_user f6c177 +fish_color_host 9ccfd8 +fish_color_host_remote c4a7e7 +fish_color_cancel e0def4 +fish_color_search_match --background=232136 +fish_color_valid_path + +# pager color variables +# https://fishshell.com/docs/current/interactive.html#pager-color-variables +fish_pager_color_progress ea9a97 +fish_pager_color_background --background=2a273f +fish_pager_color_prefix 9ccfd8 +fish_pager_color_completion 908caa +fish_pager_color_description 908caa +fish_pager_color_secondary_background +fish_pager_color_secondary_prefix +fish_pager_color_secondary_completion +fish_pager_color_secondary_description +fish_pager_color_selected_background --background=393552 +fish_pager_color_selected_prefix 9ccfd8 +fish_pager_color_selected_completion e0def4 +fish_pager_color_selected_description e0def4 + +# custom color variables +fish_color_subtle 908caa +fish_color_text e0def4 +fish_color_love eb6f92 +fish_color_gold f6c177 +fish_color_rose ea9a97 +fish_color_pine 3e8fb0 +fish_color_foam 9ccfd8 +fish_color_iris c4a7e7 diff --git a/fish/.config/fish/themes/Rosé Pine.theme b/fish/.config/fish/themes/Rosé Pine.theme new file mode 100644 index 0000000..8ac239d --- /dev/null +++ b/fish/.config/fish/themes/Rosé Pine.theme @@ -0,0 +1,51 @@ +# syntax highlighting variables +# https://fishshell.com/docs/current/interactive.html#syntax-highlighting-variables +fish_color_normal e0def4 +fish_color_command c4a7e7 +fish_color_keyword 9ccfd8 +fish_color_quote f6c177 +fish_color_redirection 31748f +fish_color_end 908caa +fish_color_error eb6f92 +fish_color_param ebbcba +fish_color_comment 908caa +# fish_color_match --background=brblue +fish_color_selection --reverse +# fish_color_history_current --bold +fish_color_operator e0def4 +fish_color_escape 31748f +fish_color_autosuggestion 908caa +fish_color_cwd ebbcba +# fish_color_cwd_root red +fish_color_user f6c177 +fish_color_host 9ccfd8 +fish_color_host_remote c4a7e7 +fish_color_cancel e0def4 +fish_color_search_match --background=191724 +fish_color_valid_path + +# pager color variables +# https://fishshell.com/docs/current/interactive.html#pager-color-variables +fish_pager_color_progress ebbcba +fish_pager_color_background --background=1f1d2e +fish_pager_color_prefix 9ccfd8 +fish_pager_color_completion 908caa +fish_pager_color_description 908caa +fish_pager_color_secondary_background +fish_pager_color_secondary_prefix +fish_pager_color_secondary_completion +fish_pager_color_secondary_description +fish_pager_color_selected_background --background=26233a +fish_pager_color_selected_prefix 9ccfd8 +fish_pager_color_selected_completion e0def4 +fish_pager_color_selected_description e0def4 + +# custom color variables +fish_color_subtle 908caa +fish_color_text e0def4 +fish_color_love eb6f92 +fish_color_gold f6c177 +fish_color_rose ebbcba +fish_color_pine 31748f +fish_color_foam 9ccfd8 +fish_color_iris c4a7e7