It's actually quite hard to determine if a shell is interactive
between difference shells and environments.
Move the prompt to use direnv to the install_nix.sh script to condense
all possible prompt interactions into a single script.
Paths
| Differential D6532 Authored by • jon on Feb 2 2023, 9:59 AM.
Details
Summary It's actually quite hard to determine if a shell is interactive Move the prompt to use direnv to the install_nix.sh script to condense Test Plan rm -rf ~/Library/Caches/app.comm/install-direnv brew uninstall direnv ./scripts/install_nix.sh
Diff Detail
Event TimelineHerald added a subscriber: tomek. · View Herald TranscriptFeb 2 2023, 9:59 AM2023-02-02 09:59:50 (UTC-8) Harbormaster completed remote builds in B16022: Diff 21869.Feb 2 2023, 10:16 AM2023-02-02 10:16:27 (UTC-8) This revision is now accepted and ready to land.Feb 2 2023, 1:07 PM2023-02-02 13:07:02 (UTC-8) Closed by commit rCOMMaa565352bba0: [Nix] Only prompt for direnv usage on install (authored by • jon). · Explain WhyFeb 6 2023, 7:17 AM2023-02-06 07:17:14 (UTC-8) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 21869 nix/dev-shell.nix
scripts/install_nix.sh
scripts/prompt_direnv_macos.sh
|
These props aren't used. Shouldn't this give a warning?