use `ls -F` instead of `ls -p`