You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~> # The XYZ env variable is not set:
~> env | grep XYZ
~> # Let's set it:
~> set -x XYZ
~> env | grep XYZ
XYZ=
~> # It's set. Now the same with a universal variable:
~> env | grep UVW
~> set -Ux UVW
~> env | grep UVW
~> # Not set!
~> fish --version
fish, version 3.0.2
~> echo $version
3.0.2
The text was updated successfully, but these errors were encountered:
vvug
changed the title
Can't set empty universal variable
Can't set empty universal variables
Jul 15, 2019
> set -gx XYZ
> env | grep XYZ
XYZ=
> set --erase XYZ
> set -Ux XYZ
> env | grep XYZ
> set --show XYZ
$XYZ: not set in local scope
$XYZ: not set in global scope
$XYZ: set in universal scope, exported, with 0 elements
This is pretty easy to reproduce:
The text was updated successfully, but these errors were encountered: