原始内容
pi-aliases
A pi extension that adds familiar command aliases. They show in autocomplete with a hint indicating the built-in command they map to.
| Alias | Runs | Description |
|---|---|---|
/clear |
/new |
Clear conversation, start new session |
/exit |
/quit |
Exit pi |
Install
pi install npm:pi-aliases
Or from git:
pi install git:github.com/xRyul/pi-aliases
Development
Clone and symlink into your extensions directory:
git clone https://github.com/xRyul/pi-aliases.git
ln -s "$(pwd)/pi-aliases" ~/.pi/agent/extensions/pi-aliases
Then use /reload in pi to pick up changes.
License
MIT