mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-20 12:04:39 +00:00
pull into local
This commit is contained in:
parent
dd0c89d8aa
commit
d0f85b30cc
50 changed files with 26814 additions and 86 deletions
13
packages/coding-agent/companion-out/docs/shell-aliases.md
Normal file
13
packages/coding-agent/companion-out/docs/shell-aliases.md
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Shell Aliases
|
||||
|
||||
Companion runs bash in non-interactive mode (`bash -c`), which doesn't expand aliases by default.
|
||||
|
||||
To enable your shell aliases, add to `~/.companion/agent/settings.json`:
|
||||
|
||||
```json
|
||||
{
|
||||
"shellCommandPrefix": "shopt -s expand_aliases\neval \"$(grep '^alias ' ~/.zshrc)\""
|
||||
}
|
||||
```
|
||||
|
||||
Adjust the path (`~/.zshrc`, `~/.bashrc`, etc.) to match your shell config.
|
||||
Loading…
Add table
Add a link
Reference in a new issue