Skip to content
ANKDDEV edited this page Apr 2, 2025 · 2 revisions

Here you'll find some explanation about individual envfetch features.

Interactive mode

Currently in interactive mode you can only see list and values of environment variables.

To run interactive mode, run envfetch interactive. Then, you'll see something similar to this: Interactive mode preview

Here you can see main pane with list of variables and small bottom pane where you can see full value of environment variable. To scroll list of variables press up and down on your keyboard. Press ctrl+q to exit from program and ctrl+r to reload list of variables. You can scroll value in bottom pane using left and right arrowws on your keyboard, this is very useful for long values.

Format for print command

Output of print command can be customized using format string. Every entry will be formatted withh it. By default, envfetch uses following format string: {name} = "{value}". {name} in format string is replaced by name of environment variable and {value} is replaced by it's value.

You can specify format string, using:

If format string is specified both in config file and as argument, argument value is used.

Clone this wiki locally