summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_pine2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8e5edd800..86e4bf328 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-20  Bart Schaefer  <schaefer@zsh.org>
+
+	* unposted: Completion/Unix/Command/_pine: Fix sed expression to
+	correctly extract option names from ~/.pinerc file.
+
 2002-02-20  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* 16678: Src/hist.c: Yet another fix for prepnexthistent().
diff --git a/Completion/Unix/Command/_pine b/Completion/Unix/Command/_pine
index 5c94c7bd7..736fdc223 100644
--- a/Completion/Unix/Command/_pine
+++ b/Completion/Unix/Command/_pine
@@ -10,7 +10,7 @@ if [[ -n $+_cache_pine_options ]]; then
       break
     fi
   done
-  _cache_pine_options=( $($=getopts | sed -n 's/^\([^#]*=\).*/-\1/p') )
+  _cache_pine_options=( $($=getopts | sed -n 's/^\([-a-z]*=\).*/-\1/p') )
 fi
 
 sortorder=( {subject,arrival,date,from,size}{,/reverse} )