Gather shell functions into `lib/util`