Skip to Content
Small, Sharp Software Tools
book

Small, Sharp Software Tools

by Brian P. Hogan
June 2019
Intermediate to advanced
328 pages
7h 27m
English
Pragmatic Bookshelf
Content preview from Small, Sharp Software Tools

Managing Your Environment

You’ve used environment variables to store data, managed processes, and created your own shortcuts to make your environment more personal, but there are a few additional tools you can use to go to the next level.

Using direnv to Manage Environment Variables

If your experiences with software development are anything like mine, you’re probably juggling a few different API keys for things. Perhaps your application uses a token to keep cookies secure or an API token for managing cloud servers. Many apps push developers to place these tokens in environment variables, but this can clog up your .bashrc files.

The direnv program lets you keep environment variables with your project. When you enter the directory, direnv sets ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

The VimL Primer

The VimL Primer

Benjamin Klein
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 9781680507003Errata Page