Shell macros and stuff