1struct shortcut { 2 char *name; 3 char *before; 4 char *after; 5}; 6 7#define NSHORTCUTS (sizeof(shortcuts) / sizeof(struct shortcut)) 8 9struct shortcut shortcuts[] = { 10 { 11 "python", 12 "/System/Library/Frameworks/Python.framework/Versions/", 13 "/Resources/Python.app/Contents/MacOS/Python" 14 }, 15 { 16 "pythonw", 17 "/System/Library/Frameworks/Python.framework/Versions/", 18 "/Resources/Python.app/Contents/MacOS/Python" 19 } 20}; 21