-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work on macOS #9
Comments
I think the associative arrays were introduced in bash v4, but it sounds like your having other issues too. Can we first establish which version of bash you are running/being evoked by pureline?
|
Yea, the issue I am really having at this point appears to be the theme/color/etc/ not working.
~/Downloads $ /bin/env bash --version
-bash: /bin/env: No such file or directory
~/Downloads $ /bin/bash --version
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
Copyright (C) 2007 Free Software Foundation, Inc.
… On Apr 15, 2018, at 7:55 AM, Chris Marsh ***@***.***> wrote:
I think the associative arrays were introduced in bash v4, put it sounds like your having other issues too. Can we first establish which version of bash you are running/being evoked by pureline?
/bin/env bash --version
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#9 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAPe5Vuigz7O2qybjJjsfulHSLkkF_uWks5tozVBgaJpZM4TStoL>.
|
I'm on linux with bash 4.4.19, but have have compiled bash 3.2.57 to test and I can confirm similar results. An easy fix would be to upgrade bash with homebrew, but thats probably an excessive solution to get a nice prompt :-) I'll play around with it and see how it goes. |
I had a similar issue. Upgrading bash seemed straightforward, following advice in this url https://johndjameson.com/blog/updating-your-shell-with-homebrew/. Though I also had to chsh with my (non-root) user. Looking forward to using this, the python version (powerline) is just a little too slow for shell. |
@ajdegol Indeed. I've tested a number of powerline prompt clones and tried to make my own one as well and I found Chris's prompt to be the best one so far. The code is modular and easy to understand / extend. |
I would also love to see a mac compatible version. Upgrading bash in a corporate environment isn't very safe or plausible. |
As a note, Zsh is becoming the default shell for macOS as of Catalina. BASH itself is "widely compatible", but absolutely ancient on macOS. Edited to add, to be slightly more helpful: On the "in a corporate environment" situation, for a number of medical clinics we utilized ARD (Apple Remote Desktop) to deploy custom-built .pkg installers which install Homebrew packages, notably for those environments, |
Closing as bash can be upgraded on macos. |
Your ../pureline/pureline config declares dictionaries in bash with -A, so this doesn't work and even after correcting this the display looks like this:
I even configured a Powerline font thinking that could be the issue but no luck.
The text was updated successfully, but these errors were encountered: