mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
fix bug in export status of universal variable assignment
This commit is contained in:
committed by
ridiculousfish
parent
431ef224e0
commit
3c116f6ab3
2
env.cpp
2
env.cpp
@@ -816,7 +816,7 @@ int env_set(const wcstring &key, const wchar_t *val, int var_mode)
|
|||||||
if (!(var_mode & ENV_EXPORT) &&
|
if (!(var_mode & ENV_EXPORT) &&
|
||||||
!(var_mode & ENV_UNEXPORT))
|
!(var_mode & ENV_UNEXPORT))
|
||||||
{
|
{
|
||||||
env_universal_get_export(key);
|
exportv = env_universal_get_export(key);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user