X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Ffish.c;h=557a6ac948a3bdcfb0a319155cd2249df8d4a7d8;hp=cbbbf970469335c8bdcd56e58b4ff69d80f18f24;hb=21bd2db7cf259a17cc3922409937b849e4b83c0f;hpb=53c3b9d2b03fa5cb0ac7e86a5a51f2a18a2b91c1 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 }