Commit 1f08915e authored by Bruno Pinto's avatar Bruno Pinto

function to restore original fish colors

parent bcbc660a
function restore_original_fish_colors
# Regular syntax highlighting colors
set fish_color_normal normal
set fish_color_command 005fd7 purple
set fish_color_param 00afff cyan
set fish_color_redirection normal
set fish_color_comment red
set fish_color_error red --bold
set fish_color_escape cyan
set fish_color_operator cyan
set fish_color_quote brown
set fish_color_autosuggestion 555 yellow
set fish_color_valid_path --underline
set fish_color_cwd green
set fish_color_cwd_root red
# Background color for matching quotes and parenthesis
set fish_color_match cyan
# Background color for search matches
set fish_color_search_match --background=purple
# Pager colors
set fish_pager_color_prefix cyan
set fish_pager_color_completion normal
set fish_pager_color_description 555 yellow
set fish_pager_color_progress cyan
end
......@@ -41,7 +41,7 @@ function _fish_source_plugin_load_file
end
end
function _fish_configure_theme
function _fish_load_theme
if test -d $fish_path/themes/$fish_theme
set fish_function_path $fish_path/themes/$fish_theme $fish_function_path
end
......@@ -75,8 +75,8 @@ for plugin in $fish_plugins
_fish_source_plugin_load_file $plugin
end
# Add user defined theme
_fish_configure_theme $fish_theme
# Load user defined theme
_fish_load_theme $fish_theme
# Source all files inside custom folder
for config_file in $fish_custom/*.load
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment