claude-memory/graph/solutions/shell-aliases-not-available-in-claude-code-bash-tool-a4efac.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

13 lines
590 B
Markdown

---
id: a4efacad-fda5-49ca-97a9-dd433f8a6a77
type: solution
title: "Shell aliases not available in Claude Code Bash tool"
tags: [claude-code, bash, aliases, major-domo, cli]
importance: 0.7
confidence: 0.8
created: "2026-01-23T20:40:33.351120+00:00"
updated: "2026-01-23T20:40:33.351120+00:00"
---
Bash aliases defined in ~/.bashrc (like 'majordomo') are not available in non-interactive shells used by Claude Code's Bash tool. Instead of using the alias, call the underlying command directly. Example: Use 'python ~/.claude/skills/major-domo/cli.py status' instead of 'majordomo status'.