Comments (3)
I hear ya. I too was surprised that OSX's bundled Bash is from 2007. You'd think they'd refresh it a little. 🤷♂️
You can close this issue if you want. I understand it's a bit of an undertaking to support such an old version of Bash.
Could you at the very least add a line in the INSTALL section of your main README to mention "Bash version 4+ is required."? I think it'll help prevent further "it's broken!" tickets like mine.
from pureline.
Yes, PureLine needs Bash v4 minimum bescause it uses associative arrays. The issue was first mentionein in Issue 7. I don't have access to OSX, but from what I read, bash can be upgraded using Homebrew. I know its not a perfect solution.
It does niggle me that PureLine does not work without effort on OSX, but since bash is now at v5.1+ I'm somewhat reluctant to put time into compatibilty with v3.2. Especially when v4 has been out for 12 years being released in 2009.
from pureline.
Part of the reason why bash is so old on macOS might be because they are trying to force a migration to zsh.
from pureline.
Related Issues (20)
- Multiline commands are visually broken HOT 2
- Needed different symbol for SSH with Hack font on MacOS HOT 1
- Challenged trying to create a module for iterm2 prompt HOT 1
- Unicode symbols HOT 5
- Background jobs count wrong HOT 4
- Git Segment - too many external calls to the git command HOT 3
- Show $SHLVL in prompt if greater than 1 HOT 2
- Right align segments HOT 1
- On some systems the prompt line wraps and overwrites the original line (without adding a new line) HOT 14
- Cursor jumps back three characters when wrapping the first line HOT 8
- Using Control Characters resets the cursor HOT 9
- Phantom bg job HOT 1
- Kubernetes segment spams "error: current-context is not set" if kubectl available but not configured yet HOT 1
- duration_segment broken in macOS
- Running on a Pi (bash version 5.0.3) HOT 4
- Merging PR #66 reintroduced a bug in __pureline_pre HOT 1
- segments are not found HOT 1
- Adding a \n before the prompt IS A FUCKING NIGHTMARE HOT 2
- Add tmux, hg segments
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 pureline.