Description
I attempted to invoke Fisher in a bootstrap.sh
for a GitHub Codespaces personalized dotfile setup.
This didn't work and blocked the GitHub Codespaces setup. I have debugged it and realized it's because of this line:
isatty || read --local --null --array stdin && set --append argv $stdin
This blocks and waits for input because during a GitHub Codespaces setup STDIN is set to an pipe. (I do not know why GitHub does this; I'll post on https://github.com/orgs/community/discussions/35527 and see if GitHub wants to provide a reason for why they do this.)
This technically isn't GitHub Codespaces specific, but would similarly block other non-interactive uses of fisher anywhere where STDIN is blocking.
I can work around this using fisher </dev/null
, so I just wanted to let you know about it FYI. It seems weird to have to do this. (And took me some time to figure out.)
https://github.com/vorburger/dotfiles-reproduce-problem illustrates this.
Activity