From be0bd999ad65345cce38045338c94ae63c43cce2 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sun, 18 Sep 2016 04:18:33 -0700 Subject: [PATCH] Commit __fish_config_interactive where I have it Nuke the cool surprise deletion feature --- .../functions/__fish_config_interactive.fish | 22 ++++++------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/share/functions/__fish_config_interactive.fish b/share/functions/__fish_config_interactive.fish index 3cac21f88..b1f18588e 100644 --- a/share/functions/__fish_config_interactive.fish +++ b/share/functions/__fish_config_interactive.fish @@ -37,16 +37,8 @@ function __fish_config_interactive -d "Initializations that should be performed # # bump this to 2_4_0 when rolling release if anything changes after 9/10/2016 if not set -q __fish_init_2_39_8 - set -l date (command date '+%Y-%m-%dT%H:%M:%S') - set -g colors_backup "$HOME/fish_previous_colors-$date.txt" - echo Backing up uvars to:\n (set_color --underline)$colors_backup(set_color normal) - set -U >>$colors_backup - for option in (set -Un | string match "fish*color_*") - set -eU $option - end - echo \"Normalized\" colors on upgrade. - # Regular syntax highlighting colors + # XXX - not quite the same as default colors in web config. Sync these up. set -q fish_color_normal or set -U fish_color_normal normal set -q fish_color_command @@ -60,7 +52,7 @@ function __fish_config_interactive -d "Initializations that should be performed set -q fish_color_error or set -U fish_color_error brred set -q fish_color_escape - or set -U fish_color_escape bryellow + or set -U fish_color_escape bryellow --bold set -q fish_color_operator or set -U fish_color_operator bryellow set -q fish_color_end @@ -84,21 +76,21 @@ function __fish_config_interactive -d "Initializations that should be performed # Background color for matching quotes and parenthesis set -q fish_color_match - or set -U fish_color_match --background=blue + or set -U fish_color_match --background=brblue # Background color for search matches set -q fish_color_search_match - or set -U fish_color_search_match bryellow --background=brgrey + or set -U fish_color_search_match bryellow --background=brblack # Background color for selections set -q fish_color_selection - or set -U fish_color_selection white --bold --background=brgrey + or set -U fish_color_selection white --bold --background=brblack # Pager colors set -q fish_pager_color_prefix or set -U fish_pager_color_prefix white --bold --underline - #set -q fish_pager_color_completion - #or set -U fish_pager_color_completion + set -q fish_pager_color_completion + or set -U fish_pager_color_completion set -q fish_pager_color_description or set -U fish_pager_color_description B3A06D yellow set -q fish_pager_color_progress