Skip to content

Add note regarding alias behavior for spacktivate#423

Merged
psakievich merged 1 commit into
spack:mainfrom
chaseleif:addaliasnote
Dec 10, 2024
Merged

Add note regarding alias behavior for spacktivate#423
psakievich merged 1 commit into
spack:mainfrom
chaseleif:addaliasnote

Conversation

@chaseleif

Copy link
Copy Markdown
Contributor

Within non-interactive shells, e.g., a bash script, aliases are not expanded by default.
This could result in unexpected behavior (spacktivate not recognized as a command).
Add a cautionary note to the environment tutorial regarding this issue, including how to set the expand_aliases shell option for bash.

@psakievich psakievich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@psakievich psakievich merged commit bcd9073 into spack:main Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants