Closed elebertus closed 2 months ago
@elebertus @scop I think now is perfect time to merge this fix! Please!
@scop good to go, pulled in your suggestion :+1:
Cheers! However I think we'll need to wait for @justjanne to have a look, I have no commit access here.
*ini.File.Section.Key
will return a zero-length value (string
in this case since it's cast tostring
) which evaluates to an emptyenv
and thenenvName
value.Here we maintain the same functionality but check if the value is empty, if empty retain the value from
VIRTUAL_ENV
forenv
.This fixes https://github.com/justjanne/powerline-go/issues/373