> A normal ping will go on forever. We don't want that. Instead, let's limit that to just five pings.
It almost always what I want.
> alias getpass="openssl rand -base64 20"
If you really want to be handy, use "pass generate -c" instead of openssl, you got the password stored in your passstore and temporary copied to the clipboard.
On Mac ⌘ + k works well in iTerm and the stock terminal. I can't be sure if it is a standard thing or not so I'm not going to make any assumptions about it working in other places.