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

bash: hash: hashing disabled #32

Closed
Keremimo opened this issue Jun 7, 2024 · 6 comments
Closed

bash: hash: hashing disabled #32

Keremimo opened this issue Jun 7, 2024 · 6 comments

Comments

@Keremimo
Copy link

Keremimo commented Jun 7, 2024

Hello, first of all loving the setup! Installed it on my laptop for testing for now.

Problem: Every time I open a terminal I get "bash: hash: hashing disabled" error.

The only extra I installed on top of the build is NVM (Node Version Manager) and it causes the same error on boot.

I want to enable hashing to fix this but Googling gave me no solutions.

Thank you for any assistance that you could provide me.

@Keremimo
Copy link
Author

Keremimo commented Jun 7, 2024

Update: Band-aided the error by adding "set -h" after "source ~/.local/share/omakub/defaults/bash/rc" in .bashrc

@dhh
Copy link
Member

dhh commented Jun 7, 2024

Anyone else seeing this? We need set +h in there to allow for app's to have dynamic binstops in ./bin. So can't just yank it.

@Keremimo
Copy link
Author

Keremimo commented Jun 7, 2024

Do you think it is because I added NVM even though there was Nodenv? Because I totally didn't notice the Nodenv.

@dhh
Copy link
Member

dhh commented Jun 7, 2024

Quite possible. I would remove both now and install mise instead. See here: #36

@jeremy
Copy link
Member

jeremy commented Jun 7, 2024

This is a warning message, not an error. It's due to nvm calling hash -r which warns when hashing is disabled.

@jeremy jeremy closed this as completed Jun 7, 2024
@Keremimo
Copy link
Author

Keremimo commented Jun 7, 2024

Indeed. But it actually caused a warning message before the desktop environment loaded, which was quite cryptic. NVM removed and issue is resolved. Thank you!

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

No branches or pull requests

3 participants