How to Auto-Switch Claude Code Accounts by Directory

Tired of accidentally asking your work AI about your side project's spaghetti code? This shell function automatically switches Claude Code profiles based on your directory, so your work conversations stay professional and your personal projects stay personal. Add a few lines to your .zshrc, and never manually specify --profile again. Your future self will thank you.
📖 Read More

Managing Multiple GitHub Accounts with SSH Configuration

This guide demonstrates how to configure multiple GitHub accounts using separate Git configuration files and SSH keys, allowing developers to seamlessly switch between personal and work accounts based on directory structure. The setup includes URL rewriting rules that automatically route repository URLs to the correct SSH host, making it possible to use standard clone commands regardless of which account context you're working in.
📖 Read More