A simple utility to manage environments within toolbx.
You can use the provided COPR repository, by running:
sudo dnf copr enable pesader/toolenv
sudo dnf install toolenv
RPM packages are available under the "Releases" section of the repository. Download the package for your version of Fedora and install with the following command (e.g. for Fedora Linux 38):
sudo dnf install $HOME/Downloads/toolenv-0.1.1-1.fc38.noarch.rpm
Toolenv's goal is to make it easy to create and use custom shell configurations (i.e. environments) for specific toolbxes. Here's the step-by-step tutorial:
- Enter a toolbx
- Run
toolenv create
to create an shell configuration for that toolbx - Run
toolenv edit
to edit the shell configuration you just created - Next time you enter that toolbx, that configuration will be automatically sourced by
toolenv
It also distinguises between different shells (e.g. bash, zsh), so you can have different configurations for each.
Here are some possible use-cases:
- Setup CLI tools that are only installed in the toolbx (e.g. zoxide, direnv, etc)
- Use programming language environments in software development toolbxes
- Set debugging environment variables in software development toolbxes
- Change your
$HOME
directory within a toolbx
The logo of toolenv is inspired by the logo of toolbx, designed by jimmac (Jakub Steiner). It's a cog for the wrench!
This work is licensed under the terms of the AGPLv3.