What happened to my color in SSH?!

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

  1. briantology macrumors 6502

    Joined:
    Jun 5, 2006
    #1
    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

    [​IMG]
     
  2. Super Macho Man macrumors 6502a

    Super Macho Man

    Joined:
    Jul 24, 2006
    Location:
    Hollywood, CA
    #2
    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