1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

Fix sed expression to correctly extract option names from ~/.pinerc file.

This commit is contained in:
Bart Schaefer 2002-02-21 06:00:57 +00:00
parent 78a4d0abe2
commit f2da4d4ed8
2 changed files with 6 additions and 1 deletions

@ -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().

@ -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} )