Project

General

Profile

Alias » History » Revision 9

Revision 8 (Per Amundsen, 08/10/2015 09:27 AM) → Revision 9/12 (Per Amundsen, 06/28/2016 02:22 AM)

_Added in 1.9.0_ 

 */alias [-l] [filename] <aliasname> <command>* 

 Add/remove/replace any single or multi line alias. 

 *Switches* 

 -l - Adds a local alias only available from current script. 

 *Parameters* 

 [filename] - An optional alias filename to update, if no filename is specified it will use the first match or the first loaded alias file. 
 <aliasname> - Name of the alias to add/remove/replace. 
 <command> - The command(s) to be executed by the aliasname. 

 *Example* 

 <pre> 
 ; This will replace the first matching alias with the new command. 
 /alias /hello /me says hello 

 ; To remove an existing alias: 
 /alias /hello 

 ; If you want to add/remove/replace a alias in an existing file 
 /alias hello.txt /alias /me says hello 
 </pre>