fixes tidy-local on BSD
shell script to setup a testing repl environment
removed test
adds support for *BSD