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 | |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_pine | 2 |
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} ) |