direnv
Unclutter your .profile
Subcommands
Name | Description |
---|---|
allow | Grants direnv to load the given .envrc |
deny | Revokes the authorization of a given .envrc |
edit | Opens PATH_TO_RC or the current .envrc into an $EDITOR and allow the file to be loaded afterwards |
exec | Executes a command after loading the first .envrc found in DIR |
fetchurl | Fetches a given URL into direnv's CAS |
help | Help for direnv |
hook | Used to setup the shell hook |
prune | Removes old allowed files |
reload | Triggers an env reload |
status | Prints some debug status information |
stdlib | Displays the stdlib available in the .envrc execution context |
version | Prints the version or checks that direnv is older than VERSION_AT_LEAST |
apply_dump | Accepts a filename containing `direnv dump` output and generates a series of bash export statements to apply the given env |
show_dump | Show the data inside of a dump for debugging purposes |
dotenv | Transforms a .env file to evaluatable `export KEY=PAIR` statements |
dump | Used to export the inner bash state at the end of execution |
export | Loads an .envrc and prints the diff in terms of exports |
watch | Adds a path to the list that direnv watches for changes |
watch-dir | Recursively adds a directory to the list that direnv watches for changes |
watch-list | Pipe pairs of `mtime path` to stdin to build a list of files to watch |
current | Reports whether direnv's view of a file is current (or stale) |
Options
Name | Description |
---|---|
--version [VERSION_AT_LEAST] | Prints the version or checks that direnv is older than VERSION_AT_LEAST |
--help [SHOW_PRIVATE] | Help for direnv |