dustin
/
zdotdir
Archived
1
0
Fork 0
This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
zdotdir/functions
Dustin d9d559c327 functions: dotenv: export variables from .env
Tools (such as VSCode) can read and use environment variables from a
file in the current working directory named `.env`.  Unfortunately,
these tools are not exactly compatible with shell syntax, as they do not
correctly process lines starting with `export`.

The `dotenv` function will read a `.env` file from the current working
directory and then export all of the variables it defines.  This allows
the `.env` file to define the variables without "exporting" them, making
them compatible with VSCode et al, but still allowing the same
environment variables to be set in the shell and its child processes.
2020-02-08 14:23:18 -06:00
..
_fmkrb5 Initial commit 2017-01-15 17:07:00 -06:00
dotenv functions: dotenv: export variables from .env 2020-02-08 14:23:18 -06:00
kadmin Initial commit 2017-01-15 17:07:00 -06:00
precmd functions/precmd: Support custom terminal titles 2017-01-17 14:37:38 -06:00
startrole Initial commit 2017-01-15 17:07:00 -06:00
switchrealm Initial commit 2017-01-15 17:07:00 -06:00
vi-search-fix Initial commit 2017-01-15 17:07:00 -06:00
vmip functions/vmip: Correctly handle multiple addresses 2017-02-27 10:40:39 -06:00