claude-memory/graph/solutions/shell-aliases-not-available-in-claude-code-bash-tool-a4efac.md
2026-02-26 23:33:28 -06:00

926 B

id type title tags importance confidence created updated relations
a4efacad-fda5-49ca-97a9-dd433f8a6a77 solution Shell aliases not available in Claude Code Bash tool
claude-code
bash
aliases
major-domo
cli
0.7 0.8 2026-01-23T20:40:33.351120+00:00 2026-02-27T05:33:28.417546+00:00
target type direction strength edge_id
66bac9cf-1b1e-42f5-903d-d28a9d5e1e1a RELATED_TO incoming 0.75 3537b1ab-3443-444e-8e93-fe866b42f202
target type direction strength edge_id
055aea5f-7084-48ae-a096-69ee1c35e114 RELATED_TO incoming 0.7 853896ba-9204-49ce-b6da-0048ab1d78f7

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