Re:macOS command-line tools you might not know about
by Svetlitski on Tuesday June 27, 2023 @11:51AM
(#36494572)
I can’t help but ask, why “,notify” and not just “notify”?
Re:macOS command-line tools you might not know about
by renewiltord on Tuesday June 27, 2023 @11:56AM
(#36494636)
I name all my personal programs prefixed by the comma. I learnt it from someone on lobste.rs. No Unix utilities use the prefix in their name and it is a valid filename.
So I can type , and I am sure it's my program and I'm not running something else and it'll autocomplete among my list of programs.
Re:macOS command-line tools you might not know about
by wpm on Tuesday June 27, 2023 @12:19PM
(#36494961)
This is a very cool idea, I always hesitate to add a lot of aliases to my zshrc since I never want to step on any toes.
Re:macOS command-line tools you might not know about
by inanutshellus on Wednesday June 28, 2023 @10:30AM
(#36507036)
an upvote wasn't enough! this is cool, thanks for sharing.
``` #!/usr/bin/env bash
```As `~/bin/,notify` and put it at the end of long-running commands:
``` run_this_program && ,notify "Long program is done!" ```