about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2002-02-21 06:00:57 +0000
committerBart Schaefer <barts@users.sourceforge.net>2002-02-21 06:00:57 +0000
commitf2da4d4ed816ee0cb1a397be4fc946fcbc464972 (patch)
tree97ef0ce24b217730b33fc48d35b6a216542ee4b7 /Completion/Unix
parent78a4d0abe2d61c121cf31b4ee8d3ad503ea965d1 (diff)
downloadzsh-f2da4d4ed816ee0cb1a397be4fc946fcbc464972.tar.gz
zsh-f2da4d4ed816ee0cb1a397be4fc946fcbc464972.tar.xz
zsh-f2da4d4ed816ee0cb1a397be4fc946fcbc464972.zip
Fix sed expression to correctly extract option names from ~/.pinerc file.
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Command/_pine2
1 files changed, 1 insertions, 1 deletions
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} )