Module env

Source

Constants§

DIR_VAR_PARSER_INFO
ENV_CONVERSIONS

Functions§

convert_env_values
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.
convert_env_vars
Translate environment variables from Strings to Values.
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.
current_dir_constDeprecated
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.
current_dir_str_constDeprecated
Returns the current working directory as a String, which is guaranteed to be canonicalized.
env_to_string
Translate one environment variable from Value to String
env_to_strings
Translate all environment variables from Values to Strings
find_in_dirs_env
This helper function is used to find files during eval
get_dirs_var_from_call
path_str
Get the contents of path environment variable as a list of strings