Comments (5)
Actually, it looks like the colors just aren't rendering at all in iTerm2. The changes to the prompt flow through, but the colors aren't making their way over.
from dotfiles.
Did some more digging and found it's in the check that sets TERM=xterm-256color. I copied the lines 5-6 from Mathias Bynes dotfiles .bash_prompt and replaced line 15-17 from your .bash_prompt and it gives me all colors in iTerm2. I can fork the repo and submit a pull request in the morning.
from dotfiles.
Hi Matt. Originally, I didn't include those lines from Mathias's file because it "breaks" the terminal colors in Snow Leopard (it doesn't support 256 colors). Having said that, it would be great if iTerm2 automatically accepted the prompt...maybe you can help me find a way to have it included in the conditional on line 15.
For the time being, I've been changing iTerm2's preferences:
Profiles > Terminal > Report terminal type: xterm-256color
from dotfiles.
Ah gotcha - I'm on Lion so I couldn't test Snow Leopard. I think the reporting type is a good workaround. Maybe just add that in the iTerm line at the top of .bash_prompt?
from dotfiles.
I'll try and find out how best to do that. Also, please let me know if you experience any rendering issues. There are occasions when I edit a file using vim and scrolling down through the file causes the rendered position of lines to jump around - can't work out what is behind that.
from dotfiles.
Related Issues (20)
- vim: disable audible bell
- Thoughts on forcing $TERM string HOT 1
- Update install script to install xCode Command Line Tools automatically HOT 2
- Fix typo in comment in shell/bash_profile HOT 1
- Fix typo in README HOT 1
- Remove some global node modules
- Did I just nuke my dotfiles? HOT 1
- fix vim's filetype for json
- Reconsider using ctrlp.vim
- Look into using Vundle instead of pathogen HOT 1
- Don't use 'silent' in curlrc
- Errors on fresh Yosemite beta? HOT 1
- Don't auto-follow redirects when using curl
- Remove HISTIGNORE from bash config
- Remove max-time from curlrc
- Remove PHANTOMJS_BIN export
- How do you undo osxdefaults? HOT 1
- can this scripts work?
- rsync install from Github produces 404 error (deprecated repo).
- You could also show outstanding commits
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotfiles.