Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm using the Solarized Dark theme for Oh-My-Zsh on both my Mac and Ubuntu computers, but the Ubuntu terminal looks terrible in comparison. The colors are dull and the names of folders are just plain gray instead of cyan.

Here's a comparison:

Mac https://www.dropbox.com/sh/kyxf6vabrk0hcwi/kV0BDT5-tl#f:MacExample.png

Ubuntu https://www.dropbox.com/sh/kyxf6vabrk0hcwi/kV0BDT5-tl#f:ubuntu.png

Both are using the exact same theme file for Oh-My-Zsh.

Is there any reason this is happening? If I do a "tput colors" it says I'm running 256 colors.

Thank you for any help you can give.

share|improve this question
    
Those.png files you provided are not conclusive because the image is microscopic. –  Ringtail Nov 7 '12 at 6:20
add comment

1 Answer

First of all, on Ubuntu, you need to add a line to your bashrc in order for ls to display colored output, i believe the ubuntu devs put something in by default regarding force_color or some such and you just have to uncomment that line. It looks a little different to me because the fonts are different, you also have to bear in mind that Mac OSX may render fonts/colors differently, OSX is well known for not being particularly POSIX compliant, despite being based on UNIX/BSD.

OSX, atleast as of Lion (10.7) does not use UTF-8 in the terminal, im not sure if that would make a difference visually however.

Hope this helps.

share|improve this answer
    
He is referring to Oh-my-Zsh which means that he is almost certainly running zsh rather than bash. Config file would be .zshrc and the setup for Oh-my-zsh is often fairly elaborate (I believe they use .zshrc to access a directory of shell scripts). BTW OSX is Posix compliant enough to formally qualify as a Unix since Apple paid Unix labs for the certification. –  haziz Dec 8 '12 at 14:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.