From 2d931ef07f3b45756830fc344c17ce06ed867984 Mon Sep 17 00:00:00 2001 From: Rui Coelho Date: Fri, 28 Oct 2016 12:19:06 +0100 Subject: [PATCH] Support autoenv module --- .gitmodules | 3 +++ modules/autoenv/README.md | 16 ++++++++++++++++ modules/autoenv/external | 1 + modules/autoenv/init.zsh | 5 +++++ 4 files changed, 25 insertions(+) create mode 100644 modules/autoenv/README.md create mode 160000 modules/autoenv/external create mode 100644 modules/autoenv/init.zsh diff --git a/.gitmodules b/.gitmodules index 518a2795..c7c6f0b7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -19,3 +19,6 @@ [submodule "modules/autosuggestions/external"] path = modules/autosuggestions/external url = https://github.com/tarruda/zsh-autosuggestions +[submodule "modules/autoenv/external"] + path = modules/autoenv/external + url = https://github.com/horosgrisa/autoenv diff --git a/modules/autoenv/README.md b/modules/autoenv/README.md new file mode 100644 index 00000000..64cf820f --- /dev/null +++ b/modules/autoenv/README.md @@ -0,0 +1,16 @@ ++autoenv +==== + +[autoenv][1] automatically sources (known/whitelisted) .env and .out files. + +Authors +------- + +The iauthors of this module should be contacted via the [issue tracker][2]. + + - [Rui Coelho](https://github.com/rjcoelho) + - [Grigorii Horos](https://github.com/horosgrisa) + - [Sorin Ionescu](https://github.com/sorin-ionescu) + + [1]: https://github.com/horosgrisa/autoenv + [2]: https://github.com/sorin-ionescu/prezto/issues diff --git a/modules/autoenv/external b/modules/autoenv/external new file mode 160000 index 00000000..a82f0077 --- /dev/null +++ b/modules/autoenv/external @@ -0,0 +1 @@ +Subproject commit a82f007782cd9794bfc6f1f49792fd8f644f7870 diff --git a/modules/autoenv/init.zsh b/modules/autoenv/init.zsh new file mode 100644 index 00000000..db450a16 --- /dev/null +++ b/modules/autoenv/init.zsh @@ -0,0 +1,5 @@ +# +# Load autoenv Module +# +source "${0:h}/external/autoenv.plugin.zsh" +