nu_engine

Module env

Source

Constants§

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.
  • current_dirDeprecated
    Returns the current working directory, which is guaranteed to be canonicalized. Unlike current_dir_const(), this also considers modifications to the current working directory made on the stack.
  • Returns the current working directory, which is guaranteed to be canonicalized.
  • current_dir_strDeprecated
    Returns the current working directory as a String, which is guaranteed to be canonicalized. Unlike current_dir_str_const(), this also considers modifications to the current working directory made on the stack.
  • Returns the current working directory as a String, which is guaranteed to be canonicalized.
  • 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