Reverse Search History (Ctrl+R) #
What: Interactive command history search similar to bash's reverse-i-search
How to use:
# In the interactive prompt, press Ctrl+R
# Type your search query - matches appear from command history
# Press Ctrl+R again to cycle through matches
# Press Enter to execute, Escape/Tab to accept without executing
Details:
- Displays "bck-i-search: " prompt when active
- Shows "failing bck-i-search: " when no matches found
- Searches through full command history including pasted content
- Ctrl+C cancels and restores previous input
- Evidence:
YNB() at line 429227, ZW5() at line 429311
Environment-Specific OAuth Credentials #
What: Separate OAuth credential storage for local development vs production
How to use:
# Production credentials (default)
# Stored in: ~/.claude.json
# Local development credentials
export USE_LOCAL_OAUTH=1
# Stored in: ~/.claude-local-oauth.json
Details:
- Prevents accidentally overwriting production OAuth tokens during development
- Separate keychain entries: "Claude Code" vs "Claude Code-local-oauth"
- Configuration files:
.claude.json (prod) or .claude-local-oauth.json (local) - Infrastructure for staging environment included but not yet active
- Evidence:
Uo1() at line 339682, KZ9() at line 339686, uJ() at line 339696
Network Permission Session Memory #
What: Remember network access decisions for the current session
How to use:
# When prompted for network access outside sandbox:
# - "Yes" - Allow once
# - "Yes, and allow accessing host:port for this session" - Remember for session
# - "No, and disable accessing host:port for this session" - Block for session
Details:
- Reduces repetitive permission prompts for trusted hosts
- Session-scoped - resets when Claude Code restarts
- Works with sandbox network restrictions
- Evidence:
pNB() at line 431799, Bx6() at line 374794