Crates.io | degenverate |
lib.rs | degenverate |
version | 0.2.5 |
source | src |
created_at | 2023-04-29 19:52:57.811161 |
updated_at | 2024-10-12 18:21:43.002394 |
description | Loads environment variables from an environment.d directory |
homepage | |
repository | https://codeberg.org/arm32x/degenverate |
max_upload_size | |
id | 852271 |
size | 25,337 |
A tool to load environment variables from an environment.d
directory
into your shell.
degenverate is inspired by the 30-systemd-environment-d-generator
program
included with systemd, although it is not a drop-in replacement. The
dotenvy
crate is used for parsing environment files.
Latest release:
cargo install degenverate
Development version:
cargo install --git https://codeberg.org/arm32x/degenverate
Create an environment.d
directory in $XDG_CONFIG_HOME
(which defaults
to ~/.config
). Files in this directory will be loaded in alphabetical
order, regardless of extension.
Add eval "$(degenverate --format=export)"
to your shell's initialization
script (.zshenv
or similar).