about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-18 12:26:30 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-18 12:26:30 +0000
commit5ea4efe2b6e6322340def28b698d49dcd1074b1a (patch)
tree4e06a90e18114a71db3458fcac4943c423445739
parent55a9fd3d9a652383e0a0368ff70db2ee7e98a4e7 (diff)
downloadzsh-5ea4efe2b6e6322340def28b698d49dcd1074b1a.tar.gz
zsh-5ea4efe2b6e6322340def28b698d49dcd1074b1a.tar.xz
zsh-5ea4efe2b6e6322340def28b698d49dcd1074b1a.zip
change suffix added when completing an assigned value (10807)
-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