-
Notifications
You must be signed in to change notification settings - Fork 1
5. Features
Here you'll find some explanation about individual envfetch
features.
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:
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.
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:
- config file
-
--format
flag ofprint
command
If format string is specified both in config file and as argument, argument value is used.