How to reuse terminal commands from clipboard history on a Mac
Copy each command from the docs as you read, then open the notch, choose Clipboard, and click the one you want. It goes back on the clipboard, ready to paste in Terminal with Command + V. You do not need to go back to the web page for each one.
Steps
- Keep NotchStar running while you read. It records each copy within half a second.
- Copy the first command from the page, then the next. Copying the same text twice only moves it to the top.
- Switch to Terminal. Open the notch with a hover and choose Clipboard.
- Type a few characters in the search field to narrow the list, such as the program name. Search ignores capitals.
- Click the row. A checkmark confirms. Paste into Terminal and read it before you press Return.
- Repeat for the next command.
Read before you run
A pasted command runs as you wrote it. If you copy a multi line command, check it in the terminal before pressing Return, since a hidden line can do more than you expect. The list row shows only the first line, so you will not see the rest until you paste. Never run a command from a page you do not trust, and do not paste one you do not understand.
Good fits
A sequence of install steps, flags you use rarely, a long path, a git command from a README, a connection string you pasted into a chat and want again. Links get a link icon, and file paths you copied as files in Finder keep their icon.
Limits
- Plain text only. Quotes and dashes are stored as copied. If a web page converted straight quotes to curly ones before you copied, the command may fail, so check.
- 50 items and then older ones drop. Long sessions overflow.
- Memory only. Quitting NotchStar clears everything. Use a notes file for commands you keep. Your shell history is the better place for what you have run.
- The list shows 30 results at a time, so search when the list is long.
- No snippets, tags or variables. It is a history, not a snippet manager.
- Secrets. Copying a token puts it in the history until it scrolls out or you quit. Quit and reopen NotchStar if you copied something you should not have.
The search help page explains how matching works. For text that must last, use a file, or a Quick Note for a line or two. The Clipboard page has the full list of limits.