2011-06-28 08:13:53 +02:00

826 B

The Alias plugin

lock <alias>

Locks an alias so that no one else can change it.

unlock <alias>

Unlocks an alias so that people can define new aliases over it.

remove <name>

Removes the given alias, if unlocked.

add <name> <alias>

Defines an alias <name> that executes <alias>. The <alias> should be in the standard "command argument [nestedcommand argument]" arguments to the alias; they'll be filled with the first, second, etc. arguments. $1, $2, etc. can be used for required arguments. @1, @2, etc. can be used for optional arguments. $* simply means "all remaining arguments," and cannot be combined with optional arguments.