mirror of
https://github.com/nushell/nushell.git
synced 2024-12-23 15:39:06 +01:00
86f12ffe61
# Description When the directory stack contains only two directories, then std dirs drop used to misbehave and (essentially) drop the other directory, instead of dropping the current directory. This is fixed by always cd'ing for std dirs drop. Before: /tmp〉enter .. /〉dexit /〉 After: /tmp〉enter .. /〉dexit /tmp〉 Additionally, I propose to explain the relevant environment variables a bit more thoroughly. # User-Facing Changes - Fix bug in dexit (std dirs drop) when two directories are remaining # Tests + Formatting Added a regression test. Made the existing test easier to understand. |
||
---|---|---|
.. | ||
assert.nu | ||
dirs.nu | ||
dt.nu | ||
help.nu | ||
iter.nu | ||
log.nu | ||
mod.nu | ||
testing.nu | ||
xml.nu |