claude-memory/graph/solutions/shell-aliases-not-available-in-claude-code-bash-tool-a4efac.md

1.1 KiB

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-03-01T06:21:07.746655+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
target type direction strength edge_id
250d2fe0-5866-42f1-b83d-187b3a64fb84 BUILDS_ON incoming 0.72 00724a32-f9ca-43af-93a9-3d7f7b356ec1

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