Permalink
Browse files

fix zsh array declaration that was preventing curl options from being…

… passed in zsh
  • Loading branch information...
1 parent 1a21c0d commit 1c96f260d85f5aa28e3409a779fccb2621a195ac @micha committed Mar 8, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 resty
View
3 resty
@@ -14,7 +14,8 @@ export _resty_path=""
export _resty_nohistory=""
function resty() {
- local confdir host cookies method h2t editor domain _path opt dat res ret out err verbose raw i j d tmpf args2 hasdata vimedit curlopt
+ local confdir host cookies method h2t editor domain _path opt dat res ret out err verbose raw i j d tmpf args2 hasdata vimedit
+ local -a curlopt
confdir="${HOME}/.resty"
host="${confdir}/host"

0 comments on commit 1c96f26

Please sign in to comment.