mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Do not generate false color uvars if value is not previously set.
This commit is contained in:
parent
81966bb8fc
commit
40b6d295d9
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