Project

General

Profile

Alias » History » Version 6

Per Amundsen, 02/08/2014 12:06 PM

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