The kalias command defines a ksh-style alias.
kalias | (ksh alias) List all currently defined aliases. |
kalias name | List the definition, if any, of alias name. |
kalias name=definition... | Define name to be an alias for definition. definition must be quoted if it contains white space. |
One difference from standard ksh alias semantics is that the kalias command (and not just the dalias command) accepts the csh history substitution meta-syntax that is commonly used in aliases. For example:
dalias goto "stop at !:1; cont; clear"
Note that for the dalias command, unlike for the kalias command, the ! need not be preceded by a backslash.