-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Inline environment variables are a powerful feature that enable you to append environment variables to your current prompt instantly.
The syntax is as follows:
{variable-name}
Examples:
cd {USERPROFILE} -- this will take you to /Users/Name on windows. Equivalent to cd ~
The environment variables used aren't platform specific, they are whatever your systems environment contains at that time.
Whatever is inside the braces will be converted into it's corresponding value for that variable. If the variable does not exist there are different behaviors depending on mode. If execution.strictmode
is defined in the settings, this will be an error. If not, the name will be automatically appended to the string. (strictmode will be enabled by default).
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation