I use Emacs 24 and want to change a color of dirs and files while I\'m in shell-mode (ls command). Ideally - depending on rights of the file.
ls
How can i
M-x customize-variable RET ansi-color-names-vector RET
Existing text will not have been affected, but newly printed text (even in the same shell buffer) will show the new colors.