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
$ set -S PWD
$PWD: set in global scope, exported, with 1 elements
$PWD[1]: |/usr/local/bin|
$ set -S status
$status: set in global scope, unexported, with 1 elements
Variable is read-only
$status[1]: |0|
Activity
zx8 commentedon Jul 28, 2021
Apparently
$PWDis not read-only 😄lilyball commentedon Jul 28, 2021
Was
$PWDmade writable since 3.3.1? Because it's read-only there.faho commentedon Jul 28, 2021
It is read-only, setting it fails correctly, the display is broken.
I think there might be two different variables floating around?
In one place var->readonly() returns true, in another false?
Hardcode $PWD as read-only for set --show
faho commentedon Jul 28, 2021
Ya know what? All the other vars work, so there's something funky going on with $PWD.
I just hard-coded it for now in
set --show.lilyball commentedon Jul 30, 2021
I just put a comment on the commit explaining the issue b3cdf4a#r54169505
CHANGELOG updates for 3.4.0