24 lines
926 B
Markdown
24 lines
926 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-02-27T05:33:28.417546+00:00"
|
|
relations:
|
|
- target: 66bac9cf-1b1e-42f5-903d-d28a9d5e1e1a
|
|
type: RELATED_TO
|
|
direction: incoming
|
|
strength: 0.75
|
|
edge_id: 3537b1ab-3443-444e-8e93-fe866b42f202
|
|
- target: 055aea5f-7084-48ae-a096-69ee1c35e114
|
|
type: RELATED_TO
|
|
direction: incoming
|
|
strength: 0.7
|
|
edge_id: 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'.
|