more bashisms
my own modifications
Enable the use of --all.

This only displays a number of files that will fit the terminal
rows that are present. This is so that we do not have to scroll
to see the files. The option --all will show all files it can
find
two new features

1. automatically truncate long file names from the beginning
2. enable an ignore list of files that should not be included
some niceties, remove ~/tmp from ignore list, fix regex