You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 21, 2026. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,34 @@ QUICKENV_LOG=debug make
144
144
# ...
145
145
```
146
146
147
+
## Command Reference
148
+
149
+
```
150
+
An unintrusive environment manager
151
+
152
+
Usage: quickenv <COMMAND>
153
+
154
+
Commands:
155
+
reload Execute .envrc in the current or parent directory, and cache the new variables
156
+
vars Dump out cached environment variables
157
+
shim Create a new shim binary in ~/.quickenv/bin/
158
+
unshim Remove a shim binary from ~/.quickenv/bin/
159
+
exec Run a program with .envrc loaded without having to shim it
160
+
which Determine which program quickenv's shim would launch under the hood
161
+
help Print this message or the help of the given subcommand(s)
162
+
163
+
Options:
164
+
-h, --help Print help
165
+
-V, --version Print version
166
+
167
+
Environment variables:
168
+
QUICKENV_LOG=debug to enable debug output (in shim commands as well)
169
+
QUICKENV_LOG=error to silence everything but errors
170
+
QUICKENV_NO_SHIM=1 to disable loading of .envrc, and effectively disable shims
171
+
QUICKENV_SHIM_EXEC=1 to directly exec() shims instead of spawning them as subprocess. This can help with attaching debuggers.
172
+
QUICKENV_NO_SHIM_WARNINGS=1 to disable nags about running 'quickenv shim' everytime a new binary is added
173
+
QUICKENV_PRELUDE can be overridden to customize the shell code injected before executing each envrc. By default, quickenv loads ~/.config/direnv/lib/*.sh files and then runs 'eval "$(direnv stdlib)"' to mimic direnv's behavior.
Copy file name to clipboardExpand all lines: src/main.rs
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ use crate::core::resolve_envrc_context;
33
33
QUICKENV_NO_SHIM=1 to disable loading of .envrc, and effectively disable shims
34
34
QUICKENV_SHIM_EXEC=1 to directly exec() shims instead of spawning them as subprocess. This can help with attaching debuggers.
35
35
QUICKENV_NO_SHIM_WARNINGS=1 to disable nags about running 'quickenv shim' everytime a new binary is added
36
-
QUICKENV_PRELUDE='eval \"$(direnv stdlib)\"' can be overridden to something else to get rid of the direnv stdlib and therefore direnv dependency, or to inject additional code before executing each envrc.
36
+
QUICKENV_PRELUDEcan be overridden to customize the shell code injected before executing each envrc. By default, quickenv loads ~/.config/direnv/lib/*.sh files and then runs 'eval \"$(direnv stdlib)\"' to mimic direnv's behavior.
0 commit comments