Alias » History » Version 5
Per Amundsen, 02/08/2014 11:59 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 | 5 | Per Amundsen | *Parameters* |
8 | [filename] - An optional alias filename to update, if no filename is specified it will use the first match or the first loaded alias file. |
||
9 | <aliasname> - Name of the alias to add/remove/replace. |
||
10 | <command> - The command(s) to be executed by the aliasname. |
||
11 | |||
12 | *Example* |
||
13 | 1 | Per Amundsen | <pre> |
14 | 5 | Per Amundsen | ;This will replace the first matching alias with the new command. |
15 | 3 | Per Amundsen | /alias /hello /me says hello |
16 | |||
17 | 5 | Per Amundsen | ;To remove an existing alias: |
18 | 3 | Per Amundsen | /alias /hello |
19 | |||
20 | 5 | Per Amundsen | ;If you want to add/remove/replace a alias in an existing file |
21 | 1 | Per Amundsen | /alias hello.txt /alias /me says hello |
22 | </pre> |