Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> utils >> direnv
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: direnv  ]

パッケージ: direnv (2.21.2-1)

Utility to set directory specific environment variables

direnv is an environment variable manager for your shell. It knows how to hook into bash, zsh and fish shell to load or unload environment variables depending on your current directory. This allows one to have project-specific environment variables and not clutter the "~/.profile" file.

Before each prompt it checks for the existence of an ".envrc" file in the current and parent directories. If the file exists, it is loaded into a bash sub-shell and all exported variables are then captured by direnv and then made available to your shell.

Because direnv is compiled into a single static executable it is fast enough to be unnoticeable on each prompt. It is also language agnostic and can be used to build solutions similar to rbenv, pyenv, phpenv, ...

direnv のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
amd64 1,146.8 kB3663 kB [ファイル一覧]
armhf 1,011.0 kB3247 kB [ファイル一覧]