]> Sergey Matveev's repositories - zsh-autoenv.git/blob - README.md
make test_full: use zsh 4 (/opt/zsh4/bin/zsh) and zsh 5
[zsh-autoenv.git] / README.md
1 [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/Tarrasch/zsh-autoenv/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
2
3 [![Build Status](https://travis-ci.org/Tarrasch/zsh-autoenv.svg?branch=master)](https://travis-ci.org/Tarrasch/zsh-autoenv)
4
5 # Autoenv for zsh
6
7 This is is a zsh optimized version of
8 [autoenv](https://github.com/kennethreitz/autoenv)
9
10 ## Why a zsh version
11
12   * Auto-completion will work rather than vomit
13   * No stupid error messages
14   * It's elegant to use the built in `chpwd_functions`
15
16 ## Installation
17
18 ### Using [antigen](https://github.com/zsh-users/antigen)
19
20     antigen-bundle Tarrasch/zsh-autoenv
21
22 ### Using [zgen](https://github.com/tarjoilija/zgen)
23
24 Add the following to your `.zshrc` where you are loading your plugins:
25
26     zgen load Tarrasch/zsh-autoenv
27
28 ### Manually
29
30 Clone the repository and source it from your `~/.zshrc` file:
31
32     git clone https://github.com/Tarrasch/zsh-autoenv ~/.dotfiles/lib/zsh-autoenv
33     echo 'source ~/.dotfiles/lib/zsh-autoenv/autoenv.zsh' >> ~/.zshrc
34
35 ## Credits
36
37 The code was mostly copied from [Joshua Clayton](https://github.com/joshuaclayton)