emacs-direnv - direnv integration for emacs

  •        32

this package provides direnv integration for emacs. it works by invoking direnv to obtain the environment for the current file, then updating the emacs variables process-environment and exec-path.

https://github.com/wbolster/emacs-direnv

Tags
Implementation
License
Platform

   




Related Projects

direnv - Unclutter your .profile

  •    Go

direnv is an environment switcher for the shell. It knows how to hook into bash, zsh, tcsh, fish shell and elvish to load or unload environment variables depending on the current directory. This allows project-specific environment variables without cluttering the ~/.profile file. Before each prompt, direnv checks for the existence of a ".envrc" file in the current and parent directories. If the file exists (and is authorized), it is loaded into a bash sub-shell and all exported variables are then captured by direnv and then made available to the current shell.

exec-path-from-shell - Make Emacs use the $PATH set up by the user's shell

  •    Emacs

A GNU Emacs library to ensure environment variables inside Emacs look the same as in the user's shell. This happens a lot on OS X, where an Emacs instance started from the GUI inherits a default set of environment variables.

cross-env - 🔀 Cross platform setting of environment scripts

  •    Javascript

Most Windows command prompts will choke when you set environment variables with NODE_ENV=production like that. (The exception is Bash on Windows, which uses native Bash.) Similarly, there's a difference in how windows and POSIX commands utilize environment variables. With POSIX, you use: $ENV_VAR and on windows you use %ENV_VAR%.cross-env makes it so you can have a single command without worrying about setting or using the environment variable properly for the platform. Just set it like you would if it's running on a POSIX system, and cross-env will take care of setting it properly.

godotenv - A Go port of Ruby's dotenv library (Loads environment variables from `.env`.)

  •    Go

Storing configuration in the environment is one of the tenets of a twelve-factor app. Anything that is likely to change between deployment environments–such as resource handles for databases or credentials for external services–should be extracted from the code into environment variables. But it is not always practical to set environment variables on development machines or continuous integration servers where multiple projects are run. Dotenv load variables from a .env file into ENV when the environment is bootstrapped.

dotenv - Loads environment variables from .env for nodejs projects.

  •    Javascript

Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology.As early as possible in your application, require and configure dotenv.


awesome-emacs - A community driven list of useful Emacs packages, libraries and others.

  •    Emacs

Welcome to Awesome Emacs, a community driven list of useful Emacs packages, utilities and libraries. Most of the following packages are available in MELPA. We recommend installing packages with it. Also, please do consider contributing back to the Emacs community. One major way is by financially sponsoring the lead developers and teams of developers that create and maintain the wonderful Emacs packages that so many of us use. Elisp Maintainers provides a fantastic collection of ways that one can donate to several prolific Emacs package developers. Please do so donate.

dotenv - A Ruby gem to load environment variables from `.env`.

  •    Ruby

Shim to load environment variables from .env into ENV in development. Storing configuration in the environment is one of the tenets of a twelve-factor app. Anything that is likely to change between deployment environments–such as resource handles for databases or credentials for external services–should be extracted from the code into environment variables.

sync-dotenv - Keep your .env in sync with .env.example

  •    TypeScript

Projects often rely on environmental variables stored in a .env file to run... and because these variables sometimes contain sensitive data, we never add them to source control. Instead, these variables are added e.g. to a .env.example file so it's easy to get the project running for other developers. However, it's very easy to forget to update this file when a variable is added/updated in .env (during development). This can make it difficult for devs to get the project running (locally) because they rely on .env.example file to setup their environment (with their own configs). sync-dotenv automates the process of keeping your .env in sync with .env.example.

Emacs-Elisp-Programming - Tutorial about programming Elisp and Emacs text editor customization.

  •    CSS

Emacs doesn’t need any presentation. Emacs is a software “Lisp Machine” that provides a programmable text editor, email reader, text web browser, image viwer, calculator, shell, games, easter-eggs and more. Emacs is programmed in Elisp, an Emacs own lisp dialect that is based on MacLisp, one of oldest lisp dialects, older than Common Lisp and Scheme, created in MIT. Emacs was written in 1976 by the legendary Richard Stallman. Despite many incompatibilities with Common Lisp it has many constructs similar to it and n excellent book about Common Lisp that is also useful to understand Elisp and Scheme is On Lisp - by Paul Graham. The user configuration file, which is executed when Emacs starts, is stored in the directory ~/.emacs.d/init.el or ~/.emacs. The first one is better because it is in the same directory of all emacs configuration files.

dotenv-safe - Load environment variables from .env and ensure they are all present

  •    Javascript

Identical to dotenv, but ensures that all necessary environment variables are defined after reading from .env. These needed variables are read from .env.example, which should be commited along with your project. If all the required variables were successfully read but an error was thrown when trying to read the .env file, the error will be included in the result object under the error key.

emacs-haskell-tutorial - Tutorial on setting up Emacs to do Haskell programming

  •    Emacs

If you want to know how to set up this awesome environment, follow the tutorial. Later, you can use the Emacs configuration file as a template for your own .emacs.d/init.el or .emacs.

env - A KISS way to deal with environment variables in Go.

  •    Go

A KISS way to deal with environment variables in Go. At first, it was boring for me to write down an entire function just to get some var from the environment and default to another in case it's missing.

lorri - Your project's nix-env

  •    Nix

lorri is a nix-shell replacement for project development. lorri is based around fast direnv integration for robust CLI and editor integration. The project is about experimenting with and improving the developer's experience with Nix. A particular focus is managing your project's external dependencies, editor integration, and quick feedback.

Indium - A JavaScript development environment for Emacs

  •    Emacs

A JavaScript development environment for Emacs. Installation instruction and other documentation can be found on readthedocs.

emacs-clang-complete-async - An emacs plugin to complete C and C++ code using libclang

  •    Emacs

emacs-clang-complete-async is an emacs extension to complete C and C++ code, it uses libclang to parse the source code on the fly and provides completion candidates to auto-complete (http://cx4a.org/software/auto-complete). This extension is not implemented in pure elisp, it is made up of a client part (auto-complete-clang-async.el, written in elisp) and a server part (clang-complete binary, written in C), they work cooperately in asynchonous client-server fashion.

helm - Emacs incremental completion and selection narrowing framework

  •    Emacs

Helm is an Emacs framework for incremental completions and narrowing selections. It provides an easy-to-use API for developers wishing to build their own Helm applications in Emacs, powerful search tools and dozens of already built-in commands providing completion to almost everything. It is a must-have for anyone using Emacs as a main work environment. Helm has been widely adopted by many Emacs power-users. It is available in Melpa and can be easily installed from the Emacs package manager. Maintaining Helm requires a lot of work, which I have done voluntarily since 2011. As it demands lots of my time it gets increasingly difficult maintaining it without financial help. Thanks to all the people that are helping or have helped Helm development, but they are actually too few to continue serenely. By the way, after the release of version 3.0 I will have to stop developing Helm seriously until I get enough financial support, only providing a minimal bugfix maintenance. Thanks for your understanding If you feel Helm is making your daily work easier, please consider making a donation.

autoenv - Directory-based environments.

  •    Shell

Magic per-project shell environments. Very pretentious. If a directory contains a .env file, it will automatically be executed when you cd into it. When enabled (set AUTOENV_ENABLE_LEAVE to a non-null string), if a directory contains a .env.leave file, it will automatically be executed when you leave it.

phpdotenv - Loads environment variables from `

  •    PHP

Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically. This is a PHP version of the original Ruby dotenv.

cider - The Clojure Interactive Development Environment that Rocks for Emacs

  •    Emacs

CIDER extends Emacs with support for interactive programming in Clojure. The features are centered around cider-mode, an Emacs minor-mode that complements clojure-mode. While clojure-mode supports editing Clojure source files, cider-mode adds support for interacting with a running Clojure process for compilation, debugging, definition and documentation lookup, running tests and so on. Please consider supporting financially its ongoing development.