When I run echo $PWD
I get this verbose message,
Path
----
/home/foo
How can I get rid of the irrelevant messages in the output? I simply need /home/foo
just like in a bash environment.
CodePudding user response:
echo $PWD.path
$PWD is an object with a member Path.