]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- tab completion for kernel modules did not work, because of '@'
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 15 Feb 2014 08:31:22 +0000 (09:31 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 15 Feb 2014 08:31:22 +0000 (09:31 +0100)
at-char-completion.patch [new file with mode: 0644]

diff --git a/at-char-completion.patch b/at-char-completion.patch
new file mode 100644 (file)
index 0000000..ed56faf
--- /dev/null
@@ -0,0 +1,20 @@
+--- poldek-0.30.0/cli/shell.c.orig     2014-02-15 09:09:58.005201258 +0100
++++ poldek-0.30.0/cli/shell.c  2014-02-15 09:10:39.141637805 +0100
+@@ -425,7 +425,7 @@ static char **poldek_completion(const ch
+         matches = rl_completion_matches(text, command_options_generator);
+     } else {
+-        rl_completer_word_break_characters = " \t\n\"\\'`@$><=;|&{(";
++        rl_completer_word_break_characters = " \t\n\"\\'`$><=;|&{(";
+         
+         switch (sh_ctx.completion_ctx) {
+             case COMPLETITION_CTX_DIRNAME:
+@@ -434,7 +434,7 @@ static char **poldek_completion(const ch
+                 
+             case COMPLETITION_CTX_WHAT_PROVIDES:
+             case COMPLETITION_CTX_WHAT_REQUIRES:
+-                rl_completer_word_break_characters = " \t\n\"\\'`@$><=;|&{";
++                rl_completer_word_break_characters = " \t\n\"\\'`$><=;|&{";
+                 matches = rl_completion_matches(text, deps_generator);
+                 break;
+                 
This page took 0.03967 seconds and 4 git commands to generate.