angea icon indicating copy to clipboard operation
angea copied to clipboard

A lite tool to make systemd work in Windows Subsystem for Linux 2

Angea


Naming from hydrangea(アジサイ)

A lite tool to make systemd work in Windows Subsystem for Linux 2

WSL1 is not supported.

Attention

Microsoft has officially released systemd support for WLS. Thus, this repository has reached its end. It would be archived. For more about that, see here or further documents from Microsoft.

Usage

See angea help

Advanced Usage

Custom Shell Program

Run angea shell with envivonment variable ARGS. (default args in example below)

Note: The first argument must be a absolute path.

ANGEA_ARGS="/usr/bin/bash -l" angea shell

Custom Envivonment Variable

Notice: Wroung environment variable passed may trigger an error.

// Set Envivonment Variable
ANGEA_ENVS="TERM=xterm-256color,WSL=1" angea shell

// Inherit Envivonment Variable
// If `ANGEA_ENV_INHERIT` is not set, angea would inherit `TERM` by default
ANGEA_ENV_INHERIT="TERM,WT_SESSION" angea shell

// Both
ANGEA_ENVS="TERM=xterm-256color" ENV_INHERIT="WT_SESSION" angea shell

Requirement

Nothing! But you should install systemd as least.

Credit

Incisakura <[email protected]>

Licence

MIT