We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
pwd
1 parent 1bdec1c commit 65a1633Copy full SHA for 65a1633
crates/nu-std/src/lib.rs
@@ -59,6 +59,7 @@ use std dirs [
59
p
60
dexit
61
]
62
+use std pwd
63
"#
64
);
65
crates/nu-std/std/mod.nu
@@ -286,3 +286,8 @@ It's been this long since (ansi green)Nushell(ansi reset)'s first commit:
286
Startup Time: ($nu.startup-time)
287
"
288
}
289
+
290
+# Return the current working directory
291
+export def pwd [] {
292
+ $env.PWD
293
+}
0 commit comments