autocomplete - Zsh cursor position during completion -
here completion function:
f() { local l read -l l reply=('ok') } compctl -k f c then do
c o tab
c ok something works. l equals c o. press tab before b:
c ok b l equals c ok b, great, how can determine complition happened not @ end of string before b? can cursor position in bash via comp_point?
Comments
Post a Comment