Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
singularity2001
on Jan 11, 2025
|
parent
|
context
|
favorite
| on:
Today I learned that bash has hashmaps (2024)
doesn't work in zsh?
nickjj
on Jan 12, 2025
[–]
It doesn't but if you're putting this into a script that's ok. You can set the script's shebang to bash so even if your user's shell is using zsh, the script will run with bash.
Consider applying for YC's Fall 2026 batch!
Applications
are open till July 27.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: