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. Zsh

Zsh

1 post tagged #zsh

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) [2026]

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

Keep exploring

Close to this topic, not on this page.

  • Reproducible Terminal Dev Environment: direnv + mise [2026] A repo-first, cross-shell setup for a reproducible terminal dev environment using direnv + mise on macOS, Linux, and WSL—plus secrets… 8 min read
  • How to Build a Rust Version Bump Tool [2026 Tutorial] Build a CI-safe Rust release toolchain: semver bump rules, workspace updates, changelog generation, annotated/signed git tags, and… 8 min read
  • How to Set Up gitleaks + pre-commit + CI [2026] A terminal-first, defense-in-depth secrets workflow for 2026: staged-only hooks, CI full-history scans, baselines for legacy repos, and… 8 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.