mirror of
https://github.com/nushell/nushell
synced 2024-12-26 21:13:19 +00:00
parent
1bdec1cbb6
commit
65a163357d
2 changed files with 6 additions and 0 deletions
|
@ -59,6 +59,7 @@ use std dirs [
|
|||
p
|
||||
dexit
|
||||
]
|
||||
use std pwd
|
||||
"#
|
||||
);
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
Loading…
Reference in a new issue