I would find it very convenient if it would be possible to auto-complete using words from what I just seen on screen in terminal with TAB. Preferably in zsh. Is there any way to manage it?
$ git log
TAB> // now cycle through whatever from
git logoutput matches my prefix