Add pwd command to stdlib (#9607)

Closes #9601
This commit is contained in:
Hofer-Julian
2023-07-04 19:25:01 +02:00
committed by GitHub
parent 1bdec1cbb6
commit 65a163357d
2 changed files with 6 additions and 0 deletions

View File

@ -286,3 +286,8 @@ It's been this long since (ansi green)Nushell(ansi reset)'s first commit:
Startup Time: ($nu.startup-time)
"
}
# Return the current working directory
export def pwd [] {
$env.PWD
}