• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Installing Powerline on OS X 10.10 (Yosemite)

By Abhishek Ghosh April 14, 2015 12:35 am Updated on April 14, 2015

Installing Powerline on OS X 10.10 (Yosemite)

Advertisement

Here is Step by Step Guide For Installing Powerline on OS X 10.10 (Yosemite) Including Managing the Python Path From Oh My ZSH dot File. Previously, we summarized how to install iTerm2, Homebrew and ZSH on OS X 10.8, for natural reason; some stuffs might give error if you try to install Powerline.

 

Installing Powerline on OS X 10.10 : Managing Python Installation

 

OS X by default is shipped with own versions of some UNIX softwares including Python. You should not try to uninstall them. OS X Python is located at for Global usage, Homebrew Python will get install at /usr/local/lib/. The most important step is to run brew linkapps python command.

If you have installed Python via Homebrew and forgotten what you did, remove it first. When we will System’s Python, we will use zsh by typing zsh at Terminal. We will only add the needed for powerline part :

Advertisement

---

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## needed for powerline starts
source /usr/local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh
export PATH=/usr/local/bin:$PATH
  # for Python
launchctl setenv PATH $PATH
## needed for powerline ends
# sample zsh config
ZSH=$HOME/.oh-my-zsh
  # zsh theme
ZSH_THEME="robbyrussell"
export UPDATE_ZSH_DAYS=10
COMPLETION_WAITING_DOTS="true"
  # zsh plugin
plugins=(git colored-man colorize github jira vagrant virtualenv pip python brew osx zsh-syntax-highlighting cake git-flow git-extras npm node theme web-search battery)
source $ZSH/oh-my-zsh.sh
  # go
export CC=clang
GOPATH=/usr/local/bin/go
GOROOT=/usr/local/bin
source /Users/abhishekghosh/.iterm2_shell_integration.zsh
  # Ruby
export PATH="$PATH:$HOME/.rvm/bin"

Installing Powerline on OS X 10.10 (Yosemite)

Add the lines missing to .zshrc, but do not source it.
First and foremost important points are to rightly fix Homebrew and update, set Python path rightly and then install Python, update Pip etc. via Homebrew :

Vim
1
brew install python

If you face problem in the next steps, that is usually due to error in the above setup. It is really painful to fix, last option is re-installing Homebrew when Python gets fully abnormal – which python is returning /usr/local/bin/python but running pip install is installing stuffs on System Python’s path. Do not try to remove the System’s OS X related Python. Do whatever with Homebrew.

We hope that you have updated Xcode command line tools.

 

Steps For Installing Powerline on OS X 10.10

 

Next need is to install a set of patched Font :

Vim
1
https://github.com/Lokaltog/powerline-fonts # copy url in text editor first

Very easy. From iTerm’s iTerm > Preferences… menu, change the Font to any patched Font. Next, you need to do these :

Vim
1
2
brew install vim --with-python --with-ruby --with-perl
brew install macvim --env-std --override-system-vim

If you work in this way, in future it is unlikely that you will ever call us bad names after learning vi, in case you are not mastered vim yet. We have no .vimrc file. We need no such.

Next is Powerline :

Vim
1
2
3
pip install powerline-status
## below is dev version
# pip install --user git+git://github.com/powerline/powerline

More Powerline specific guide is here :

Vim
1
http://powerline.readthedocs.org/en/latest/installation.html # copy url in text editor first

First do a cat :

Vim
1
cat /usr/local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh

If it returns something then source .zshrc :

Vim
1
source .zshrc

We added the needed lines on .zshrc before. If you dislike Powerline or want to “pause” usage, then uncomment the source /usr/local/lib/python...zsh/powerline.zsh line and source the .zshrc.
The text editor shown in screenshot is using our nano syntax highlighting repo. Whether you’ll use tmux or vi; this is not possible to predict. This is the basic setup.

Tagged With how to install yosemite using terminal on mac os , how to install powerline mac os x yosemite , install powerline mac os , osx powerline

This Article Has Been Shared 275 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Installing Powerline on OS X 10.10 (Yosemite)

  • Give Homebrew a Graphical Interface With CakeBrew

    CakeBrew is a nice free software for managing packages of HomeBrew Package Manager from a Graphical User Interface (GUI). Here is details.

  • OS X Yosemite Installation Stuck Fix

    If Your OS X Yosemite Installation Stuck at Minutes Remaining, You Should Check the Log and Fix It Accordingly. Read This Guide To Get Helped.

  • How to Use tmux on Mac

    tmux is used to multiplex several virtual consoles to access multiple terminal sessions inside a single terminal window or remote terminal.

  • OS X Yosemite Review : Steve Jobs Really Left

    Here is a hard OS X Yosemite Review pointing the importance of Steve Jobs absence. Apple forgot the premium clients using Mac Pro and MacBook Pro.

  • Work With root Username on OS X Terminal/iTerm2

    If you want to use OS X in a kind of Linux or BSD way, there is way to become the root user. This guide is intended for the advanced users.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023
  • Advantages of Cloud Server Over Dedicated Server for Hosting WordPress March 26, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Installing Powerline on OS X 10.10 (Yosemite)," in The Customize Windows, April 14, 2015, March 31, 2023, https://thecustomizewindows.com/2015/04/installing-powerline-on-os-x-10-10-yosemite/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT