Comments (12)
I'm experiencing the same parse error with oh-my-zsh.
from bullet-train.zsh.
Thanks for reporting.
What OS you using?
from bullet-train.zsh.
This issue was on Linux (Ubuntu 12.04). I can't seem to reproduce the error on a mac.
from bullet-train.zsh.
What versions of zsh are installed on the Mac and Ubuntu machines?
from bullet-train.zsh.
@jaredweiss, if you change line 299 to
if [[ "$BULLETTRAIN_GIT_COLORIZE_DIRTY" == true && $(git status --porcelain --ignore-submodules) ]]; then
does that resolve the issue on your ubuntu box without breaking the Mac?
from bullet-train.zsh.
@unixorn
Mac: zsh 5.0.8 (x86_64-apple-darwin14.4.0)
Linux: zsh 4.3.17 (x86_64-unknown-linux-gnu)
That line doesn't seem to solve the issue on the linux machine.
from bullet-train.zsh.
@jaredweiss
Hi, i met the same problem today.
May be U can try it this way:
if [["$BULLETTRAIN_GIT_COLORIZE_DIRTY" == true && $(git status --porcelain --ignore-submodules)]]; then
It seems that it's a syntax problem.
from bullet-train.zsh.
@jaredweiss
Hi, I also had the same problem. The error was happening on both Mac and Linux using the same zsh versions as you. The solution posted by @unixorn didn't solve the issue on either machine.
I was able to fix it by changing line 299 to
if [[ $BULLETTRAIN_GIT_COLORIZE_DIRTY == true && -n $(git status --porcelain --ignore-submodules) ]]; then
Maybe it'll work for you too. Good luck!
from bullet-train.zsh.
@KVoll what version of zsh are you using?
from bullet-train.zsh.
@unixorn
Mac: zsh 5.0.8 (x86_64-apple-darwin14.4.0)
Linux: zsh 4.3.17 (x86_64-unknown-linux-gnu)
from bullet-train.zsh.
@KVoll are you going to do a PR with your change? I don't mind making one but you should get the credit for the fix.
from bullet-train.zsh.
@KVoll Thanks! your fix worked for me
from bullet-train.zsh.
Related Issues (20)
- Wrong display
- Go version not show?
- GIF in README is too fast
- Vim :terminal + bulet-train fonts go crazy
- Don't show python virtualenv icon HOT 1
- Changes not taking effect HOT 2
- Using bullet-train in small vscode terminal HOT 1
- bug when in git repository
- Theme seems buggy...
- scalar parameter xxxxx created globally in function xxxx
- The Go prompt detection seems incorrect (and incomplete) HOT 2
- Node version in Mac OS
- Can not see the words in VIRTUALENV
- Feature request: option to choose conda over virtualenv
- Fonts not displaying correctly HOT 1
- Feature Request: Allow for different prompt char customization for root
- Slow on Ubuntu 22.04
- Can we geth the color theme used in demo README.md
- List of all colors available? HOT 1
- Usage with Volta Node Version Manager
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 bullet-train.zsh.