What happened to my color in SSH?!

Discussion in 'Mac Programming' started by briantology, Sep 10, 2007.

  1. briantology macrumors 6502

    Jun 5, 2006
    Ok, so last year when I wrote programs for my java class, when I opened up terminal and logged into turing, when I would program classes, constructors, variables, methods, comments, etc. would be in color (like a different color for each one) with main code in black.
    But now this semester I log in to turing and all my color is gone! Anyone know how to get it back?

    Thanks for any help!

    EDIT: upon further inspection, I noticed the last line here when I logged in

  2. Super Macho Man macrumors 6502a

    Super Macho Man

    Jul 24, 2006
    Hollywood, CA
    Probably a messed up .bashrc or .login file. DIR_COLORS is not a program, it's an environment variable that gets set in one of those files (or in /etc/bashrc / /etc/login). (I assume you are using bash)

    Check those files for anything that looks like it could be a reference to DIR_COLORS or similar and get back to us. :)

Share This Page