In many places, you can find environment files, with the following structure:
When you try to evaluate, this file using
source command, you get an error with the fish shell.
This is very annoying, so I’ve decided to write a function that can read this file and load those variables. Here is how you can use it:
The source code of this function. Enjoy:
Photo credits: Banner, Thumbnail