X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Ffish.h;h=0dd1fc2e58e4ca084a53e2b01e5ac14ee8e5fa40;hb=875dc84cc01dacb1e254e294a66e179b96fbdbc6;hp=91424e1e5896008216c33c893cfb27eaed5564b0;hpb=d70248333edf8a5b5f509609cf2c8f7fd77d5e05;p=libguestfs.git diff --git a/fish/fish.h b/fish/fish.h index 91424e1..0dd1fc2 100644 --- a/fish/fish.h +++ b/fish/fish.h @@ -61,4 +61,18 @@ extern int do_echo (const char *cmd, int argc, char *argv[]); /* in edit.c */ extern int do_edit (const char *cmd, int argc, char *argv[]); +/* in lcd.c */ +extern int do_lcd (const char *cmd, int argc, char *argv[]); + +/* This should just list all the built-in commands so they can + * be added to the generated auto-completion code. + */ +#define BUILTIN_COMMANDS_FOR_COMPLETION \ + "help", \ + "quit", "exit", "q", \ + "alloc", "allocate", \ + "echo", \ + "edit", "vi", "emacs" \ + "lcd" + #endif /* FISH_H */