kristofferahl / hook-sh

Seamlessly extend any command with pre and post command hooks using vanilla bash.
8 stars 3 forks source link

mapfile not found, bad substitution #1

Open PatrickGeyer opened 1 year ago

PatrickGeyer commented 1 year ago

Got a couple of errors here, have you seen them before?

Screenshot 2023-05-27 at 16 10 18

kristofferahl commented 5 months ago

Totally missed replying to this. Sorry. I think you were running a version of bash where mapfile wasn't supported. You will need mapfile for hook-sh to work.