Home Theory News Documentation Download Bio |
Macros are simple text substitutions that are expanded before any
other parsing, so they can be used to rename any mpsh feature,
including things like pipes, file redirection, etc. You could
redefine all symbols for use from a device with a limited keyboard
(ie: cell phone) for example.
Create macro:
mpsh$ macro name="text" Show existing macros, formatted for readability, or quoted:
mpsh$ macro -s mpsh$ macro -q Macros are referred to by number instead of by name, because the name will be expanded by the macro. Macro numbers are included in the macro -s display. Delete one macro, or clear all macros:
mpsh$ macro -d num mpsh$ macro -c
|