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

Doesn't seem to work with ZSH #14

Open
thomasjm opened this issue Jun 6, 2017 · 1 comment
Open

Doesn't seem to work with ZSH #14

thomasjm opened this issue Jun 6, 2017 · 1 comment

Comments

@thomasjm
Copy link

thomasjm commented Jun 6, 2017

Just tried this with ZSH and got a bunch of errors:

sash:22: bad option: -a
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: pems
_get_data:shift:6: shift count must be <= $#
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: ips
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: hosts
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: resource_ids
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: users
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:shift:6: shift count must be <= $#
_get_data:20: bad option: -a
_get_data:declare:21: no such variable: private_ips
sash:31: bad substitution

(Bash works fine though.)

@uriagassi
Copy link
Owner

Yes, sash was never tested on zshell...

apparently the read command operates differently than in bash.

If you have the knowledge and capacity to fix this, I'll be happy if you could make a pull request. If not - I will try to make the time to add the support for zsh, but I don't know when that will be.

Thanks for reporting!
U

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

2 participants