danhper / fundle

A minimalist package manager for fish shell
MIT License
374 stars 22 forks source link

Be compatible with BSD seq command. #3

Closed ghost closed 8 years ago

ghost commented 8 years ago

On Mac OS X, seq 0 equals seq 1 -1 0 and yields this sequence: 1 0

And unfortunately (BSD) seq 1 1 0 fails and outputs error message.

danhper commented 8 years ago

Great, thank you! I hope Travis will support BSD sometime!

ghost commented 8 years ago

Maybe I should just get a package of all those GNU utils and modify $PATH before loading fundle. Don't know how those BSD guys get used to their tools. It is lucky that mv and cp are not used in the script yet.

danhper commented 8 years ago

I do not know if most shell tools are compatible with BSD or if most BSD users change their GNU tools, but as long as it does not add too much complexity, I would like to keep this compatible with default BSD tools.