Go to file
Daniel Hahler 473a0a32df travis: use 'sudo make' to fix zsh test
Build: https://travis-ci.org/Tarrasch/zsh-autoenv/jobs/59762278

Error:

   ./A04redirect.ztst: starting.
   *** /tmp/zsh.ztst.err.16143	Thu Apr 23 18:06:09 2015
   --- /tmp/zsh.ztst.terr.16143	Thu Apr 23 18:06:09 2015
   ***************
   *** 1 ****
   ! zsh:1: no such file or directory: /nonexistent/nonexistent
   --- 1 ----
   ! zsh:1: permission denied: /nonexistent/nonexistent
   Test ./A04redirect.ztst failed: error output differs from expected as shown above for:
     $ZTST_testdir/../Src/zsh -fc 'exec >/nonexistent/nonexistent
     echo output'
   Was testing: failed exec redir, no POSIX_BUILTINS
2015-04-23 20:24:30 +02:00
lib varstash: fix get_autostash_array_name for Zsh 4.3.17 (Travis) 2015-04-23 17:57:46 +02:00
tests Cleanup tests/varstash_export.t 2015-04-23 17:57:56 +02:00
.gitignore gitignore tests/*.err 2014-12-02 22:49:01 +01:00
.travis.yml travis: use 'sudo make' to fix zsh test 2015-04-23 20:24:30 +02:00
Makefile make test_full: use zsh 4 (/opt/zsh4/bin/zsh) and zsh 5 2015-04-23 19:54:44 +02:00
README.md Add zgen instructions 2015-02-18 20:25:28 +01:00
autoenv.plugin.zsh Antigenify 2013-09-08 17:07:38 +02:00
autoenv.zsh Fix _autoenv_get_file_mtime for zsh 4 (no pipefail option) 2015-04-23 19:55:21 +02:00
init.zsh Create init.zsh to make compatible with prezto 2015-01-19 15:25:42 +01:00

README.md

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

Using zgen

Add the following to your .zshrc where you are loading your plugins:

zgen load 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