Skip to content

Commit

Permalink
Add shell_pathed_env_vars to config
Browse files Browse the repository at this point in the history
Signed-off-by: amorphousWaste <20346603+amorphousWaste@users.noreply.github.com>
  • Loading branch information
amorphousWaste authored and Jawabiscuit committed Sep 15, 2023
1 parent f3e2b68 commit 744e8f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/rez/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ def _parse_env_var(self, value):
"release_hooks": StrList,
"context_tracking_context_fields": StrList,
"pathed_env_vars": StrList,
"shell_pathed_env_vars": OptionalDict,
"prompt_release_message": Bool,
"critical_styles": OptionalStrList,
"error_styles": OptionalStrList,
Expand Down
4 changes: 4 additions & 0 deletions src/rez/rezconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,10 @@
"*PATH"
]

shell_pathed_env_vars = {
"gitbash": ["PYTHONPATH"]
}

# Defines what suites on ``$PATH`` stay visible when a new rez environment is resolved.
# Possible values are:
#
Expand Down

0 comments on commit 744e8f9

Please sign in to comment.