Skip to content

Conversation

@mrjones2014
Copy link
Member

Overview

Users of the Nix Flake will now have Shell Plugins wired up as shell functions instead of shell aliases. This results in a better tab completion experience.

Type of change

  • Created a new plugin
  • Improved an existing plugin
  • Fixed a bug in an existing plugin
  • Improved contributor utilities or experience

Related Issue(s)

How To Test

  1. However you consume the flake (e.g. as an input to your own flake) update the URL to git+file:///path/to/local/shell-plugins (replacing the file path as appropriate for your own system)˜
  2. Rebuild your Nix configuration
  3. Restart your shell
  4. Check that Shell Plugins still work

Changelog

Update Nix Flake to configure Shell Plugins as shell functions instead of aliases for better tab completion.

@SimonBarendse SimonBarendse requested a review from Marton6 May 13, 2024 12:41
Copy link
Member

@SimonBarendse SimonBarendse left a comment

Choose a reason for hiding this comment

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

Thanks for putting this together and removing this annoying friction point from the experience! 🙌

Kudos to @jimeh for inspiring this work in #433 🙌 ❤️

@mrjones2014
Copy link
Member Author

@edif2008 can we get this one approved and merged as well?

@mrjones2014 mrjones2014 force-pushed the mrj/nix-flake-shell-functions branch from f3b595b to b2df10c Compare August 25, 2025 15:00
@volodymyrZotov volodymyrZotov merged commit 62f91c1 into main Aug 25, 2025
5 checks passed
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.

4 participants