According to the docs I can tell the zsh history to print lines in a range. The docs say "history [first [last]]" I've tried "history a b" but that gives a too many arguments error.
I've also tried hundreds of other things same results. Can someone post an example of a working history with range?
bash
error. Are you sure you're usingzsh
? What doecho "$ZSH_VERSION"
andecho "$BASH_VERSION"
tell you? – Stéphane Chazelas Aug 19 '13 at 5:48echo "$ZSH_VERSION"; history 1008 1009
yields4.3.10 1008 history 1000 1008 1009 history 1008 1009
– Ulrich Schwarz Aug 19 '13 at 5:54