If you run it on linux, you can do
chmod a-x .
This will prevent directory listing to all Linux processes (except owned by root), including your own shell.