I never have to review (except occasional grep something ~/.zsh_history), but I find myself typing Ctrl-R to find commands in history all the time.
I never have to review (except occasional grep something ~/.zsh_history), but I find myself typing Ctrl-R to find commands in history all the time.
Even better, newer versions support predictions [0] - which, whenever you type any text, it immediately lists multiple commands where it finds a match.
Of course, that addresses only myself, but not whoever touches the project. As well, I may not know in what context that command was ran. So I appreciate some suggestions here that guide toward making scripts and providing useful info in README.
Then users of your project can type `ib ?` to get the list of available scripts and ib itself will setup context of their execution as needed.
Log in to our Postgres? that's `psql` something something. CTRL + ALT + V, type psql - there it is
PGPASSWORD=pass1234 psql -h our-database-dev.abcdefg.us-east-1.rds.amazonaws.com -U acme maindb
Press Enter to automatically enter it in currently active window