2013-09-16 12:27:08 +03:00
|
|
|
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/Tarrasch/zsh-autoenv/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
|
|
|
|
|
2014-12-04 08:58:45 +02:00
|
|
|
[![Build Status](https://travis-ci.org/Tarrasch/zsh-autoenv.svg?branch=master)](https://travis-ci.org/Tarrasch/zsh-autoenv)
|
2013-09-08 19:50:20 +03:00
|
|
|
|
2013-09-08 18:14:28 +03:00
|
|
|
# Autoenv for zsh
|
|
|
|
|
|
|
|
This is is a zsh optimized version of
|
|
|
|
[autoenv](https://github.com/kennethreitz/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
|
|
|
|
|
2014-12-11 17:31:41 +02:00
|
|
|
### Using [antigen](https://github.com/zsh-users/antigen)
|
2013-09-08 18:14:28 +03:00
|
|
|
|
|
|
|
antigen-bundle Tarrasch/zsh-autoenv
|
|
|
|
|
2014-12-11 17:31:41 +02:00
|
|
|
### Manually
|
|
|
|
|
|
|
|
Clone the repository and source it from your `~/.zshrc` file:
|
|
|
|
|
|
|
|
git clone https://github.com/Tarrasch/zsh-autoenv ~/.dotfiles/lib/zsh-autoenv
|
|
|
|
echo 'source ~/.dotfiles/lib/zsh-autoenv/autoenv.zsh' >> ~/.zshrc
|
|
|
|
|
2013-09-08 18:14:28 +03:00
|
|
|
## Credits
|
|
|
|
|
|
|
|
The code was mostly copied from [Joshua Clayton](https://github.com/joshuaclayton)
|