Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Names crate produces unappropiate name combination #2353

Closed
azzamsa opened this issue Apr 9, 2023 · 2 comments · Fixed by #2122
Closed

Names crate produces unappropiate name combination #2353

azzamsa opened this issue Apr 9, 2023 · 2 comments · Fixed by #2122

Comments

@azzamsa
Copy link

azzamsa commented Apr 9, 2023

Hi.

I have opened an issue regarding this upstream fnichol/names#26.
But, another alternative are:

  1. We can roll our own name generator similar to moby/pkg/namesgenerator
    /names-generator.go
    spirit. But, instead of character names, we have to use animal and fruits name. Learn from previous mistakes. The moby names generator creates a heated political discussion about what to remove/include Freeze the namesgenerator package against new additions moby/moby#43210 (comment)

  2. Using custom dictionary https://github.com/fnichol/names#example-with-custom-dictionaries

image

@tlinford
Copy link
Contributor

Related: #1907, #1911, #2122

@azzamsa
Copy link
Author

azzamsa commented Apr 11, 2023

For now, I use zellij -s $(tr -dc A-Za-z0-9 </dev/urandom | head -c 13 ; echo '') as mentioned in #2122 (comment)

Update:

Finally, I made my own: https://github.com/azzamsa/dotfiles/blob/e577885f23ac2fe88a260914a22184277e1a9b07/xtool/src/names.rs#L5.
Now, I can use zellij -s $(names)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants