This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function print_fish_colors --description 'Shows the various fish colors being used' | |
set -l clr_list (set -n | grep fish | grep color | grep -v __) | |
if test -n "$clr_list" | |
set -l bclr (set_color normal) | |
set -l bold (set_color --bold) | |
printf "\n| %-38s | %-38s |\n" Variable Definition | |
echo '|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯|' | |
for var in $clr_list | |
set -l def $$var | |
set -l clr (set_color $def ^/dev/null) |