diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2002-02-21 06:00:57 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2002-02-21 06:00:57 +0000 |
commit | f2da4d4ed816ee0cb1a397be4fc946fcbc464972 (patch) | |
tree | 97ef0ce24b217730b33fc48d35b6a216542ee4b7 /Completion | |
parent | 78a4d0abe2d61c121cf31b4ee8d3ad503ea965d1 (diff) | |
download | zsh-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')
-rw-r--r-- | Completion/Unix/Command/_pine | 2 |
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} ) |