From 0e9ddbb0bf0cd34500155ea4b03de2e2a38d8ab2 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 16 Mar 2020 23:33:42 +0100 Subject: Well I'm using Arch again --- .oh-my-zsh/plugins/dotenv/dotenv.plugin.zsh | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .oh-my-zsh/plugins/dotenv/dotenv.plugin.zsh (limited to '.oh-my-zsh/plugins/dotenv/dotenv.plugin.zsh') diff --git a/.oh-my-zsh/plugins/dotenv/dotenv.plugin.zsh b/.oh-my-zsh/plugins/dotenv/dotenv.plugin.zsh deleted file mode 100644 index b701b55..0000000 --- a/.oh-my-zsh/plugins/dotenv/dotenv.plugin.zsh +++ /dev/null @@ -1,19 +0,0 @@ -source_env() { - if [[ -f .env ]]; then - # test .env syntax - zsh -fn .env || echo 'dotenv: error when sourcing `.env` file' >&2 - - if [[ -o a ]]; then - source .env - else - set -a - source .env - set +a - fi - fi -} - -autoload -U add-zsh-hook -add-zsh-hook chpwd source_env - -source_env -- cgit v1.2.3