X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Ffish.c;h=557a6ac948a3bdcfb0a319155cd2249df8d4a7d8;hb=6b500f1b8e1ac8d28c485a5591c2833b18cc86e2;hp=cbbbf970469335c8bdcd56e58b4ff69d80f18f24;hpb=c9f1a45334efca844c8918b9f0de373f16fd9766;p=libguestfs.git diff --git a/fish/fish.c b/fish/fish.c index cbbbf97..557a6ac 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -1417,6 +1417,13 @@ initialize_readline (void) rl_readline_name = "guestfish"; rl_attempted_completion_function = do_completion; + + /* Note that .inputrc (or /etc/inputrc) is not read until the first + * call the readline(), which happens later. Therefore, these + * provide default values which can be overridden by the user if + * they wish. + */ + (void) rl_variable_bind ("completion-ignore-case", "on"); #endif }