Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nix): Update flake.nix to configure Shell Plugins as functions vs. aliases #464

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

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 🙌 ❤️

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