1 2 3 4 5 6 7 8 9 10
#!/bin/bash # provides completion in `bash` shells # whichcat, whiched. whichhead, whichvi # try to complete with program names complete -c whichcat complete -c whichhead complete -c whiched complete -c whichvi