mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-22 07:20:59 +02:00
4676713bc6
- Support for leave event, via DOTENV_FILE_LEAVE and _dotenv_event (can use DOTENV_FILE_LEAVE=$DOTENV_FILE_ENTER). - Support for searching upwards for $DOTENV_FILE_ENTER (#3). - Source .env only once per session, but re-source when leave events are enabled (#1). - Trigger the machinery when the script gets sourced, for the current dir (#2). |
||
---|---|---|
tests | ||
.travis.yml | ||
autoenv.plugin.zsh | ||
autoenv.zsh | ||
Makefile | ||
README.md |
Autoenv for zsh
This is is a zsh optimized version of autoenv
Why a zsh version
- Auto-completion will work rather than vomit
- No stupid error messages
- It's elegant to use the built in
chpwd_functions
Installation
Using antigen
antigen-bundle Tarrasch/zsh-autoenv
Credits
The code was mostly copied from Joshua Clayton