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

Re: _history completion breaks history words containing spaces?



On Sep 30, 10:12pm, Nikolai Weibull wrote:
}
} It seems that _history will give "Star\ " as a completion instead of
} "Star\ Trek", given that "Star\ Trek" is in $historywords.  I see no
} obvious way of fixing this.  Anyone have any suggestions?

Would you please give steps to reproduce this, including showing
via which completion you invoked _history?

I can get some strange stuff to happen with _history-complete-older
but I haven't stumbled on anything that seems to match what you
described.

Here's an example of a strange one I did get:

schaefer<503> print 'foo bar'                    
foo bar
schaefer<504> echo '
 (press escape slash after that single quote)
schaefer<504> echo ''foo bar''
zsh: do you wish to see all 1520 possibilities (1523 lines)? 



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