1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2024-11-05 01:10:59 +02:00
Go to file
Arash Rouhani 7a0a67a982 Merge pull request #18 from qur2/master
Create init.zsh to make it compatible with prezto
2015-01-19 15:49:47 +01:00
lib varstash: use '==' for consistency 2014-12-18 20:52:52 +01:00
tests Do not cd in the chpwd hook 2015-01-17 20:10:41 +01:00
.gitignore gitignore tests/*.err 2014-12-02 22:49:01 +01:00
.travis.yml tests: setup for multiple ZDOTDIRs, fix/add "setopt clobber" 2014-12-08 22:14:54 +01:00
autoenv.plugin.zsh Antigenify 2013-09-08 17:07:38 +02:00
autoenv.zsh Do not cd in the chpwd hook 2015-01-17 20:10:41 +01:00
init.zsh Create init.zsh to make compatible with prezto 2015-01-19 15:25:42 +01:00
Makefile Makefile: use CURDIR instead of PWD; used with 'make -C ..' 2015-01-17 20:43:59 +01:00
README.md README: add section about manual installation 2014-12-11 16:31:41 +01:00

Bitdeli Badge

Build Status

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

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

Credits

The code was mostly copied from Joshua Clayton