This project is a plugin for the Rez package management system, enabling integration with Nushell, a modern shell designed for structured data.
- Provides support for using Rez with Nushell.
- Implements environment variable handling specific to Nushell.
- Nushell comppletion support for Rez commands.
- Python >= 3.9
- Rez >= 3.2.1
- Nushell installed on your system
-
Clone this repository:
git clone https://github.com/doubleailes/rez_nushell_plugin.git
-
Set the plugin path:
Set the
REZ_PLUGIN_PATHenvironment variable to include the path to this plugin. You can do this by adding the following line to your shell configuration file. The path should point to therez_nushelldirectory in the cloned repository.$env.REZ_PLUGIN_PATH = './src/rez_nushell/'
-
Optional: You can add autocompletion for Rez commands in Nushell by adding the following line to your Nushell configuration file:
source ./rez-completions.nu
Once set, you can use Rez with Nushell by specifying nu as the shell type. For example:
rez-env my_package -- shell nuOr simply use rez commands as you would in any other shell in a Nushell session.
To contribute to this project:
- Fork the repository and create a new branch for your feature or bugfix.
- Make your changes and ensure they are well-tested.
- Submit a pull request with a detailed description of your changes.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.
This plugin is inspired by the Rez project and aims to extend its functionality to support modern shells like Nushell.