about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Base/_value4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b4d97e01..2f3a8a3fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,9 @@
 
 2000-04-18  Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
 
+	* 10807: Completion/Base/_value: change suffix added when
+ 	completing an assigned value
+	
 	* 10801: Completion/Builtins/_zstyle, Completion/Core/_main_complete,
  	Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, Doc/Zsh/mod_complist.yo,
  	Src/Zle/complist.c: completion list scrolling cleanup; *STATUS
diff --git a/Completion/Base/_value b/Completion/Base/_value
index 723285233..9df71fdd4 100644
--- a/Completion/Base/_value
+++ b/Completion/Base/_value
@@ -23,7 +23,7 @@ _value () {
        [[ "$PREFIX$SUFFIX" = *:* ]]; then
       compset -P '*:'
       compset -S ':*'
-      _default -qS: "$@"
+      _default -r '\-\n\t /:' "$@"
     else
       _default "$@"
     fi
@@ -46,7 +46,7 @@ _value:LDFLAGS () {
   elif compset -P '-R'; then
     compset -P '*:'
     compset -S ':*'
-    _files -/ -S/ -r ' :' "$@"
+    _files -/ -S/ -r '\n\t\- /:' "$@"
   else
     _default "$@"
   fi