Alias » History » Version 3
Per Amundsen, 02/08/2014 01:18 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | */alias [filename] <aliasname> <command>* |
||
| 4 | |||
| 5 | Add/remove/replace any single line alias. |
||
| 6 | |||
| 7 | 3 | Per Amundsen | <pre> |
| 8 | /alias /hello /me says hello |
||
| 9 | </pre> |
||
| 10 | |||
| 11 | This will replace the first matching alias with the new command. |
||
| 12 | |||
| 13 | To remove an existing alias: |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | /alias /hello |
||
| 17 | </pre> |
||
| 18 | |||
| 19 | If you want to add/remove/replace a alias in an existing file, use: |
||
| 20 | |||
| 21 | <pre> |
||
| 22 | /alias hello.txt /alias /me says hello |
||
| 23 | </pre> |
||
| 24 | |||
| 25 | If no filename is specified it will use the first match or the first loaded alias file. |