|
Download packages/coding-agent/docs/shell-aliases.md from SaylorTwift/pi: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/SaylorTwift/pi/resolve/main/packages/coding-agent/docs/shell-aliases.md
- Command line
-
hf download hf://SaylorTwift/pi/packages/coding-agent/docs/shell-aliases.md
-
curl -L -o shell-aliases.md https://huggingface.co/SaylorTwift/pi/resolve/main/packages/coding-agent/docs/shell-aliases.md
356 Bytes
| # Shell Aliases | |
| Pi runs bash in non-interactive mode (`bash -c`), which doesn't expand aliases by default. | |
| To enable your shell aliases, add to `~/.pi/agent/settings.json`: | |
| ```json | |
| { | |
| "shellCommandPrefix": "shopt -s expand_aliases\neval \"$(grep '^alias ' ~/.zshrc)\"" | |
| } | |
| ``` | |
| Adjust the path (`~/.zshrc`, `~/.bashrc`, etc.) to match your shell config. | |