[packages/poldek] - tab completion for kernel modules did not work, because of '@'

witekfl witekfl at pld-linux.org
Sat Feb 15 09:35:37 CET 2014


commit 4cd82b6e17871a982a25e6f651fb01f3a675b2aa
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Sat Feb 15 09:31:22 2014 +0100

    - tab completion for kernel modules did not work, because of '@'

 at-char-completion.patch | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
---
diff --git a/at-char-completion.patch b/at-char-completion.patch
new file mode 100644
index 0000000..ed56faf
--- /dev/null
+++ b/at-char-completion.patch
@@ -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;
+                 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/poldek.git/commitdiff/8cd07b070798719c37aeece598a1ee99c0674596



More information about the pld-cvs-commit mailing list