Add autoenv, automatic environment setup

Using a hook, automatically detect when `.enter` and `.exit` scripts
and source them when changing the shells current directory.

Fixes #3.
This commit is contained in:
2018-04-22 11:04:12 +01:00
parent d58e543c78
commit 9f7367c550
2 changed files with 109 additions and 0 deletions

1
zshrc
View File

@@ -12,6 +12,7 @@ source-plugin() {
source-plugin zsh-autosuggestions
source-plugin zsh-history-substring-search
source-plugin zsh-syntax-highlighting
source-plugin autoenv
# Disable non end-of-line autosuggest accept widgets
ZSH_AUTOSUGGEST_ACCEPT_WIDGETS=(end-of-line vi-end-of-line)