Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: _values does not quote inserted matches



On Apr 14, 12:38am, Borsenkow Andrej wrote:
} Subject: _values does not quote inserted matches
}
} note, that match inserted into command line is not quoted that makes it
} impossible to complete more than one value.

The problem is this stuff at lines 54-58 of _values:

      if [[ ${#noargs}+${#args}+${#opts} -ne 1 ]] && compvalues -s sep; then
        sep=( "-qQS" "$sep" )
      else
        sep=()
      fi

I don't know why the Q is included on line 55?  It seems to all work OK if
I take it out.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author