Skip to content
KG.
  • Blog
  • Hire me, or see what I ship.

    • ProjectsCase studies & shipped work
    • ServicesWork with me
    • SponsorSponsor the blog
  • Essays and references on AI engineering.

    • BlogEssays on AI engineering
    • Learning PathsGuided curricula
    • Topic PillarsDeep-dive hubs
    • GlossaryAI & dev terms, defined
    • CheatsheetsQuick references
    • ComparisonsX vs Y, decided
  • Things to click, play, and take apart.

    • Tools29 dev & AI utilities
    • Games16 browser games
    • DemosInteractive explainers
    • ChallengesDaily coding puzzles
  • Me

    • AboutWho I am
    • UsesMy gear & setup
    • ResumeCV (PDF)

    Shelf

    • BookshelfBooks I recommend
    • Reading ListWhat I'm reading
  • Subscribe
  • Let's talk
  1. Home
  2. ›
  3. Blog
  4. ›
  5. Direnv

Direnv

2 posts tagged #direnv

A computer screen displaying system information and an Ubuntu logo in a terminal window Developer Tools

Prevent API Key Leaks in Shell History (bash/zsh/fish)

A practical terminal hardening guide to prevent API key leaks in shell history, env vars, and dotfiles. Includes bash/zsh/fish configs, direnv/mise patterns, secret scanning, and a leak response runbook.

September 6, 2026 10 min read
Read more
terminal window laptop screen developer — illustration for article on Reproducible Terminal Dev Environment: direnv + Developer Tools

mise + direnv: Reproducible Terminal Dev Environment

A repo-first, cross-shell setup for a reproducible terminal dev environment using direnv + mise on macOS, Linux, and WSL—plus secrets patterns and troubleshooting.

August 8, 2026 8 min read
Read more

Keep exploring

Close to this topic, not on this page.

  • Terminal CLI Tools for AI Developers: 2026 LLM CLI Stack The complete zero-to-production terminal CLI stack for AI developers in 2026: shell setup, agentic coding tools, local inference, prompt… 13 min read
  • How to Build a Rust Version Bump Tool for Cargo Build a CI-safe Rust release toolchain: semver bump rules, workspace updates, changelog generation, annotated/signed git tags, and… 8 min read
  • How to Redact Secrets in an AI Coding CLI Tool Build a universal “safe AI CLI wrapper” that sits in front of any coding agent, redacts secrets, enforces basic policies, and writes JSONL… 9 min read

Content

  • Blog
  • Topic Pillars
  • Learning Paths
  • Games
  • Demos

Resources

  • Tools
  • Glossary
  • Cheatsheets
  • Comparisons
  • LLM Prices
  • Embedding Prices

About Me

  • About
  • Uses
  • Bookshelf
  • Reading List

Meta

  • Subscribe
  • Changelog
  • Sitemap
  • Privacy
  • Terms
  • RSS
KG

Building intelligent systems. Still chasing those sour icecreams.

Made with coffee and curiosity in Toronto. 2026.