Skip to content

Exportable bash profile#118

Open
UnstoppableMango wants to merge 2 commits intomainfrom
bash-export
Open

Exportable bash profile#118
UnstoppableMango wants to merge 2 commits intomainfrom
bash-export

Conversation

@UnstoppableMango
Copy link
Copy Markdown
Owner

  • Start an exportable bash profile
  • Finish up the main task

Copilot AI review requested due to automatic review settings April 15, 2026 20:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a reusable, Nix-generated “portable” bash rc script and reuses its alias set in the zsh Home Manager module, making it possible to build and run a consistent bash environment on machines without the full Home Manager setup.

Changes:

  • Added shells/bash/default.nix exporting shared shellAliases and mkPortableBashRc.
  • Updated zsh module to source shellAliases from the shared portable shell definition.
  • Exposed a flake package erasmussen-portable-bashrc and documented how to build/run it.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
shells/zsh/default.nix Replaces inline zsh aliases with shared aliases imported from the new bash module.
shells/bash/default.nix New portable bash rc generator and shared alias definitions.
flake.nix Adds a per-system package that builds the portable bash rc text artifact.
README.md Documents building and launching bash with the generated rc file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread shells/bash/default.nix
Comment thread shells/bash/default.nix
Comment thread README.md
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