Bash: check for capabilities before aliasing ls.