Menu

Post image 1
Post image 2
Post image 3
Post image 4
Post image 5
1 / 5
0

How to Manage Shell Commands Without Turning zsh or bash Into a Junk Drawer

DEV Community·Valeriy Bagrintsev·26 days ago
#XE6gKMV2
#how#why#cli#gloss#fullscreen#commands
Reading 0:00
15s threshold

How to Manage Shell Commands Without Turning zsh or bash Into a Junk Drawer Shell history is great until it becomes a haunted attic. The command is probably there somewhere, wedged between three failed attempts, one typo, and a sudo moment that should not be legally discussed. I built Gloss because I kept re-searching the same shell commands and spreading useful aliases across zsh , bash , notes, and random config files. This post is not really “use my tool, please clap.” It is more about the workflow problem that pushed me to build it — and the simple alternatives that are honestly good enough for many people. The Problem: Shell History Is Not Knowledge Shell history remembers what happened. It does not always remember why it mattered. That difference becomes painful over time. A command like this may be useful: find . -name "*.log" -mtime +7 -delete Enter fullscreen mode Exit fullscreen mode But when it appears in history later, it has no context. Was it safe? Was it for the current project?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More