degenverate

Crates.iodegenverate
lib.rsdegenverate
version0.2.5
sourcesrc
created_at2023-04-29 19:52:57.811161
updated_at2024-10-12 18:21:43.002394
descriptionLoads environment variables from an environment.d directory
homepage
repositoryhttps://codeberg.org/arm32x/degenverate
max_upload_size
id852271
size25,337
arm32x (arm32x)

documentation

README

degenverate

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.

Installation

Latest release:

cargo install degenverate

Development version:

cargo install --git https://codeberg.org/arm32x/degenverate

Usage

  1. 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.

  2. Add eval "$(degenverate --format=export)" to your shell's initialization script (.zshenv or similar).

Commit count: 0

cargo fmt