bash: make completion work on both Mac and Linux