hive            Code |FrontPage |HiveTraits

env

env trait allows manipulation of shell environment variables.

actions:(name)

(name):  return out the value of environment variable <name>
!do $env:HOME
prints out the current value of HOME

!do $env:PATH[$env:PATH:/bin]
adds /bin to the current path.