From 40b6d295d93f00f30e872290068d6c46be32aac3 Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Sun, 1 May 2016 11:56:59 +0900 Subject: [PATCH] Do not generate false color uvars if value is not previously set. --- fisher.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fisher.fish b/fisher.fish index 0549c18..d0ef4e4 100644 --- a/fisher.fish +++ b/fisher.fish @@ -1466,6 +1466,9 @@ end function __fisher_restore_fish_colors command awk ' + $0 == "" { + next + } NR == 1 { print("set -U fish_color_normal " $0) }