Zsh

  • File colours / red files

    • When you see file names listed in ls that are coloured red, this is (probably) because they are executables.
    • To find out what the colours mean:

      • Cmd: man ls

        • Scroll down to where LSCOLORS is explained
      • Cmd: echo $LSCOLORS

        • Tells you the current value of LSCOLORS
        • When I did this I got Gxfxcxdxbxegedabagacad

          • The important bit is bx in the 9th and 10th chars - we can see from man ls this means that executable files are coloured red.