From 9f0eaecf0c2dd2fd95d24827cbdee44290b88e3d Mon Sep 17 00:00:00 2001 From: Charles Gould Date: Sat, 21 Mar 2020 21:25:56 -0500 Subject: [PATCH] fish: add fish_colors function --- fish/functions/fish_colors.fish | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 fish/functions/fish_colors.fish diff --git a/fish/functions/fish_colors.fish b/fish/functions/fish_colors.fish new file mode 100644 index 0000000..9c492f6 --- /dev/null +++ b/fish/functions/fish_colors.fish @@ -0,0 +1,5 @@ +function fish_colors --description 'Print the fish color variables' + for i in (set -n | string match 'fish*_color*') + echo $i (set_color $$i)$$i(set_color normal) + end +end