Module nu_engine::env

source ·

Functions

  • Translate environment variables from Strings to Values. Requires config to be already set up in case the user defined custom env conversions in config.nu.
  • Calls current_dir_str() and returns the current directory as a PathBuf
  • Shorthand for env_to_string() for PWD with custom error
  • Translate one environment variable from Value to String
  • Translate all environment variables from Values to Strings
  • This helper function is used to find files during eval
  • Get the contents of path environment variable as a list of strings