#include <h/mh.h>
extern char *mhlibdir;
-extern char *mhetcdir;
static struct swit switches[] = {
#define COMPSW 0
char *cp, buf[BUFSIZ], **argp;
char **arguments, *comps[MAXARGS];
- invo_name = r1bindex(argv[0], '/');
+ invo_name = mhbasename(argv[0]);
/* read user profile/context */
context_read();