mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2025-01-22 05:41:06 +02:00
Daniel Hahler
bf1376fd8f
travis: fix tests
- set SHELL=zsh - cd back for ZSH=5 - fix/improve autoenv.plugin.zsh: no dirname, use ${0:h}
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
Description
Languages
Shell
48.1%
Perl
46.7%
Raku
3.5%
Makefile
1.7%