Often I will have a terminal command that outputs some suggested commands to run next, or a file path amongst multi-line text output.I want to be able to re-use the file path or the command.E.g.$ nativefier --name Asana Personal https://app.asana.comPackaging app for platform darwin x64 using electron v1.6.6App built to /Users/Vaughan/Asana Personal-darwin-x64$ cd /Users<press-tab>/Vaughan/Asana Personal-darwin-x64$ brew info postgres...If builds of PostgreSQL 9 are failing and you have version 8.x installed,you may need to remove the previous version first. See:  https://github.com/Homebrew/legacy-homebrew/issues/2510To migrate existing data from a previous major version (pre-9.0) of PostgreSQL, see:  https://www.postgresql.org/docs/9.6/static/upgrading.htmlTo migrate existing data from a previous minor version (9.0-9.5) of PostgreSQL, see:  https://www.postgresql.org/docs/9.6/static/pgupgrade.html  You will need your previous PostgreSQL installation from brew to perform `pg_upgrade`.  Do not run `brew cleanup postgresql` until you have performed the migration.To have launchd start postgresql now and restart at login:  brew services start postgresqlOr, if you don't want/need a background service you can just run:  pg_ctl -D /usr/local/var/postgres start$ pg ctl<press-tab>-D /usr/local/var/postgres start
Use previously printed text in a command
shell;zsh