Bot releases are visible (Hide)
$HOME
path from being striked (#287)dep
tool to manage dependenciesPublished by zimbatm over 7 years ago
Published by zimbatm over 7 years ago
Published by zimbatm over 7 years ago
Published by zimbatm almost 8 years ago
Published by zimbatm over 8 years ago
Published by zimbatm over 8 years ago
Thanks again to the community for providing improvements and ideas. This time we have 4 new exciting features. Enjoy !
Changes:
direnv export json
to facilitate IDE integration by @zimbatmwatch_file
function thanks to @avnikuse node
function thanks to @wilmooredirenv prune
to remove old allowed files thanks to @punitagrawalThis release adds integration with the Nix package manager thanks to @gfxmonk . It's now possible to use Nix to describe all of a project dependencies and have direnv load them into the environment.
Example: use nix or use nix -p ruby
Published by zimbatm over 9 years ago
Yet anoter long overdue release. Direnv keeps going forward thanks to his contributors. It's great, I don't have to do anything anymore !
I've very happy to report that @bbense has added support for the tcsh
shell to direnv bringing the total of supported shells up to 4. I hope it will please old-school BSD users out there.
Compatibility issues with tmux came up a couple of times and I think we have a good-enough workaround for the moment. The issue is that tmux messes with the environment variables in very weird way so the solution is to unload direnv before executing tmux: alias tmux='direnv exec / tmux'
(or fix tmux if you feel like it)
direnv dump
now ignores BASH_FUNC_
exports. Thanks @gfxmonkalias tmux='direnv exec / tmux'
Thanks @bbense @vially and @dadooda for corrections in the docs
Published by zimbatm almost 10 years ago
All changes in how direnv handles python layouts.
You can now specify the python executable to the layout python
directive and virtualenvs are now creates under ./.direnv/python-$VERSION
. Note that existing ./.direnv/virtualenv
will keep being used if they exist so that you don't have to re-install all your projects.
layout python3
a shortcut for layout python python3
. Thankslayout_python
layout python
now unsets $PYTHONHOME to better mimic virtualenvPublished by zimbatm over 10 years ago
Time flies, I wanted to make a release every month.
This release sees the addition of Cygwin support thanks to @CMCDragonkai. Window integration is a bit tricky but apparently cygwin emulates most of the hard things. A windows milestone has been added if you want to help with this.
@halkeye contributed a nice layout perl
addition to the stdlib. It sets the LOCAL_LIB_DIR and a couple of other perl-specific environment variables to ./.direnv/perl5
to make your own per-project sandbox for CPAN packages.
vim integration has also been added. It's still quite buggy but I thought it might be nice to play with it. If you're interested have a look at https://github.com/zimbatm/direnv.vim
@punitagrawal has also started publishing debian packages for sid which makes me very happy.
Everyone, thank you for your help in this release !
Installation is a three-step operation:
brew install direnv
A debian package is available for Debian SID thanks to Punit Agrawal
https://packages.debian.org/sid/direnv
Get the AUR here: https://aur.archlinux.org/packages/direnv/
nix-env -i direnv
Grab the binaries corresponding to your OS an put it in your $PATH (eg:
/usr/local/bin). Make sure the binary has the executable flag set by running
chmod +x direnv
.
Also note that the windows binaries are untested at this stage.
Happy hacking !
Published by zimbatm over 10 years ago
Big thanks to gfxmonk again, this time for submitting the DIRENV_LOG_FORMAT change that allows users to change the log output. Direnv's output is still not very pretty but it's
starting to get better. Example: export DIRENV_LOG_FORMAT='📁 %s'
We also have a new direnv exec [DIR] <COMMAND> ...
command spearheaded by
pwaller which allows to execute commands in
the context of an env. bencolon provided us
with a usage example for his sublime text plugin:
https://github.com/zimbatm/direnv/pull/97#issuecomment-33840368
Both new feature lack in documentation and in general documentation is still a
big issue. It's hard to write and takes time to maintain. Next month I'll be
focusing on that, hopefully making it easier for non-gurus to join the
project.
direnv exec [DIR] <COMMAND>
to execute programs with an .envrc contextInstallation is a three-step operation:
brew install direnv
A debian package is available for Debian SID thanks to Punit Agrawal
https://packages.debian.org/sid/direnv
Get the AUR here: https://aur.archlinux.org/packages/direnv/
nix-env -i direnv
Grab the binaries corresponding to your OS an put it in your $PATH (eg:
/usr/local/bin). Make sure the binary has the executable flag set by running
chmod +x direnv
.
Also note that the windows binaries are untested at this stage.
Happy hacking !
Published by zimbatm over 10 years ago
Release 2.2.0 has been yanked because it was highly unstable. Below is the
release notes for 2.2.0, 2.2.1 just renamed DIRENV_BACKUP to DIRENV_DIFF and
fixes the regresssion.
A lot of small changes that should just make the day to day usage nicer. As
usual if you see something you don't like just
let me know !
Also a big thanks to
Tim Cuthbertson aka. gfxmonk for his
participation in the last months.
Installation is a three-step operation:
brew install direnv
Get the AUR here: https://aur.archlinux.org/packages/direnv/
nix-env -i direnv
Grab the binaries corresponding to your OS an put it in your $PATH (eg:
/usr/local/bin). Make sure the binary has the executable flag set by running
chmod +x direnv
.
Also note that the windows binaries are untested at this stage.
Published by zimbatm almost 11 years ago
A lot of small changes that should just make the day to day usage nicer. As
usual if you see something you don't like just
let me know !
Also a big thanks to
Tim Cuthbertson aka. gfxmonk for his
participation in the last months.
Installation is a three-step operation:
brew install direnv
Get the AUR here: https://aur.archlinux.org/packages/direnv/
nix-env -i direnv
Grab the binaries corresponding to your OS an put it in your $PATH (eg:
/usr/local/bin). Make sure the binary has the executable flag set by running
chmod +x direnv
.
Also note that the windows binaries are untested at this stage.
Published by zimbatm almost 11 years ago
This version brings support for the fish shell and a
couple of misc fixes.
For the new fish shell users out there, once installed add the following line
at the end of your "~/.config/fish/config.fish" file:
eval (direnv hook fish)
This requires Homebrew to be installed.
brew install direnv
AUR available: https://aur.archlinux.org/packages/direnv/
If you have yaourt installed just run:
yaourt -S direnv
(still waiting to be merged, see NixOS/nixpkgs#1232)
Make sure your nixpkgs channel is up to date and then run:
nix-env -i direnv
Just take the corresponding binary and put in in your $PATH :