Remove MAC address from universal variables file

This switches the universal variables file from a machine-specific
name to the fixed '.config/fish/fish_universal_variables'. The old file
name is migrated if necessary.

Fixes #1912
This commit is contained in:
ridiculousfish
2018-04-01 17:43:12 -07:00
parent ca13e816ce
commit ff10e504a1
4 changed files with 60 additions and 38 deletions

View File

@@ -2753,7 +2753,7 @@ static void test_universal() {
env_universal_t uvars(UVARS_TEST_PATH);
callback_data_list_t callbacks;
bool loaded = uvars.load(callbacks);
bool loaded = uvars.initialize(callbacks);
if (!loaded) {
err(L"Failed to load universal variables");
}