mirror of
https://github.com/jorgebucaran/fisher
synced 2024-08-17 12:31:05 +02:00
Do not generate false color uvars if value is not previously set.
This commit is contained in:
parent
2317d88440
commit
89daf29f46
1 changed files with 3 additions and 0 deletions
|
@ -1466,6 +1466,9 @@ end
|
||||||
|
|
||||||
function __fisher_restore_fish_colors
|
function __fisher_restore_fish_colors
|
||||||
command awk '
|
command awk '
|
||||||
|
$0 == "" {
|
||||||
|
next
|
||||||
|
}
|
||||||
NR == 1 {
|
NR == 1 {
|
||||||
print("set -U fish_color_normal " $0)
|
print("set -U fish_color_normal " $0)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue