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
Copy file name to clipboardExpand all lines: blog/2026-01-17-nushell_v0_110_0.md
+19-14Lines changed: 19 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,19 +89,19 @@ let files = ls | get name
89
89
To bring balance to the universe, [#17270](https://github.com/nushell/nushell/pull/17270) introduces a new command `unlet` for deleting variables from memory.
90
90
91
91
```nu
92
-
❯ let a = 1;let b = 2;let c = 3;let d = 4
93
-
❯ $"($a)($b)($c)($d)"
94
-
1234
95
-
❯ unlet $a $b $c $d
96
-
❯ $"($a)($b)($c)($d)"
97
-
Error: nu::shell::variable_not_found
98
-
99
-
× Variable not found
100
-
╭─[entry #21:1:4]
101
-
1 │ $"($a)($b)($c)($d)"
102
-
· ─┬
103
-
· ╰── variable not found
104
-
╰────
92
+
let a = 1;let b = 2;let c = 3;let d = 4
93
+
$"($a)($b)($c)($d)"
94
+
# => 1234
95
+
unlet $a $b $c $d
96
+
$"($a)($b)($c)($d)"
97
+
# => Error: nu::shell::variable_not_found
98
+
# =>
99
+
# => × Variable not found
100
+
# => ╭─[entry #21:1:4]
101
+
# => 1 │ $"($a)($b)($c)($d)"
102
+
# => · ─┬
103
+
# => · ╰── variable not found
104
+
# => ╰────
105
105
```
106
106
107
107
Accompanying this is a new `mem_size` column in the output of the `scope variables` command for showing the size of each variable in memory (implemented in [#17287](https://github.com/nushell/nushell/pull/17287)).
@@ -577,7 +577,7 @@ With [#17121](https://github.com/nushell/nushell/pull/17121), variables and envi
0 commit comments