nem env
Print the shell script that applies the composed environment.
Print the shell script that applies the composed environment to the current shell, together with the saved originals that let the same script restore them later. The hook runs it on every directory change; eval it yourself when you need the environment without the hook.
Usage
nem env [flags]Examples
eval "$(nem env)" # apply to the current shell
nem env --shell zsh # render for a specific shellFlags
| Flag | Description |
|---|---|
--shell <string> | shell dialect to render for: bash or zsh (default: $SHELL) |
Global flags
--color, --narration, --quiet, and --verbose apply to every command; see nem.
See also
- nem
- Guide: Shell integration