Replies: 2 comments
|
Strongly agree with this. Adding some prior-art context and two failure modes beyond plain typos.
I understand the appeal of collapsing both into one command — fewer concepts to learn, and the common case just works. But it also removes any way to express "I want the existing one, and only the existing one," and that ambiguity has real costs. Two ways it bites:
Both leave clutter that has to be noticed and cleaned up later. #3220 is the same root cause seen from the far end: a session created by a typo that then couldn't be deleted from the CLI at all. Possible directions, in increasing order of invasiveness:
If one of these directions looks right, I'd be glad to implement it and open a PR — on a maintainer's go-ahead, not before. |
|
I created https://github.com/Raynos/dotfiles/blob/master/bin/herdr-attach So that I can run I created a bash alias ( https://github.com/Raynos/dotfiles/blob/master/.bashrc#L111-L137 ) that gaurds against auto creation or basically just bans using the herdr cli and forcing the usage of |
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
I keep typoing my session names
homevshouseorgamesvsgameorgame-demosvsgames-demoAnd creating brand new session instead of getting a Not Found message. I'd like to be able to only attach to session that exist and have a manual
herdr session create [name]command to create new ones as a one time.requested change
Give me a config setting to make session attach not auto create sessions.
why you want this
To avoid typos creating brand new blank sessions.
All reactions