How essential is remembering the current directory for each Windows drive letter? #14873
NotTheDr01ds
started this conversation in
Polls
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As mentioned in #14355, Windows PowerShell and CMD (to different degrees) support the concept of a "current directory per drive", where using
C:
orD:
(or another drive letter) without an absolute path will remember the last directory used on that drive. For example, if you are inC:\Windows
, switch toD:
, and navigate toD:\Game
, you can return toC:\Windows
by simply typingC:
.File system commands can also make use of this to, for example, copy a file to the current director on another drive (e.g.,
copy .\file.txt D:
).#14546 implements this behavior on Nushell, but the team has some concerns about the overall necessity as well as the maintenance burden for this change. We're also investigating if perhaps a similar (although slightly less ergonomic) behavior could be added to the
std/dirs
module.We'd like to solicit feedback from the Nushell Windows community. We'd like to ask only Nushell Windows users to vote. We welcome your comments below if you use Nushell only on Mac and/or Linux/Unix. We'd also like to hear from you in the comments if you've used this feature in the past on Windows and have opinions on the implementation (or suggestions for improvements).
23 votes ·
Beta Was this translation helpful? Give feedback.
All reactions