doodpants 6 days ago

After installing bash via MacPorts, it works for me. All except #3 cutesaver, which gives an infinite loop of:

  cutesaver.sh: line 55: shuf: command not found
[removed] 6 days ago
[deleted]
30minAdayHN 6 days ago

I encountered this in another project. This should hopefully fix it:

zmodload zsh/mapfile

hinkley 6 days ago

IIRC macOS is at least one major version behind in bash.

  • dylan604 6 days ago

    something something licensing something something

    new installs default to bash not being the default terminal. someone else mentioned macports, but there's a new version available via brew as well

    • hinkley 6 days ago

      So far I have resisted the change. All the people I know who think zsh is great have a fairly large number of addons to get it that way.

      • dylan604 6 days ago

        This first time I used a mac where zsh was the default, I was confused for quite a bit of time when it would not run something I was used to doing. I kept looking up errors on the internet until I came across someone's post with a reply asking if they were using Terminal on a new OS X. Sure enough, this was a new mac as well. Now I know one of the first steps for me with a new Mac is change default shell. I'm way too old and set in my ways to care to learn a new shell. Choosing a shell, IDE, font, etc are games for youth.

SeeManDo 6 days ago

Same here

  • SeeManDo 6 days ago

    Bash Screensavers v0.0.27 (Mystic Shine)

    ./screensaver.sh: line 79: mapfile: command not found 1 .

    (Press ^C to exit)

    Choose your screensaver: 1 404 Screensaver Not Found:

    Oh no! Screensaver had trouble! Error code: 1

    • seba_dos1 6 days ago

      Get a Bash that's not ancient. mapfile is there since version 4.0 from 2009.

      • [removed] 6 days ago
        [deleted]
    • SeeManDo 6 days ago

      Seems to be a old version of bash installed and used by default on macos

      • SeeManDo 6 days ago

        Even after updating still getting the same error

        checked active bash version:

        echo $BASH_VERSION

        5.3.3(1)-release