niieani / bash-oo-framework

Bash Infinity is a modern standard library / framework / boilerplate for Bash
https://github.com/niieani/bash-oo-framework/discussions
MIT License
5.57k stars 247 forks source link

Does this work with zsh #56

Open DwordPtr opened 6 years ago

DwordPtr commented 6 years ago

I’m curious because I’d love to try this out as a heavy oh my zsh user.

niieani commented 6 years ago

@DwordPtr I have not tested. I would assume some incompatibility, but it's definitely possible to port it.

UnconventionalMindset commented 6 years ago

Apparently not... :(

$ source "bash-oo/oo-bootstrap.sh"
bash-oo/oo-bootstrap.sh:175: command not found: shopt
Exception: Cannot import Array/Contains ()

https://stackoverflow.com/a/26616150/4715008

SDRausty commented 6 years ago

it's definitely possible to port it.

Are there any bash <> zsh translators?

niieani commented 6 years ago

@sdrausty we're planning a re-write of the framework in 3.0 release, so we can take this into account :)

See the issue here: #45