bullet-train.zsh icon indicating copy to clipboard operation
bullet-train.zsh copied to clipboard

Installing Powerline for Linux Users

Open IshtarGate opened this issue 9 years ago • 9 comments

Could we add sudo apt-get install powerline to the readme instructions. This makes installation much easier for linux users and may not be obvious at first when trying to get the theme to work on linux. This may have also sidestepped the need to install tff-ancient-fonts separately.

From: http://askubuntu.com/questions/283908/how-can-i-install-and-use-powerline-plugin#answer-540730

Awesome theme, thank you, -James

IshtarGate avatar Oct 19 '16 20:10 IshtarGate

It is on the requirements on README you have to install a special font

I don't use Linux as my dev machine, so I'm not familiar what it does Does it just install a bunch of different patched fonts to work with powerline?

Just for documentation purposes, below a list of powerline compatible fonts I like the most

caiogondim avatar Oct 20 '16 13:10 caiogondim

Thank you, I wasn't specific enough in my issue. I meant that I followed the README and attempted to install powerline and tff-ancient-fonts (ubuntu 16.04), but it wasn't enough to get it working properly. I had to take a few more steps to get if working (it wasn't trivial).

On my second installation of the Bullet-Train theme (on a second ubuntu 16.04 machine) I've found that sudo apt-get install powerline is much easier than hunting and installing powerline and tff-anchient-fonts yourself. I figured this would help some other linux user out. :)

I will do a third install of ZSH and Bullet-Train to see if sudo apt-get install powerline is the quickest fix.

To answer your question, I'm not sure what sudo apt-get install powerline pulls down.

I will look into Hasklig. :)

IshtarGate avatar Oct 20 '16 16:10 IshtarGate

That is not ideal

You remember what exactly was missing? Because the only thing you need is a font with powerline symbols and the theme itself...

Please do a pull request with the missing steps or improvements you think we might need We can work on it together

caiogondim avatar Oct 20 '16 17:10 caiogondim

Will only close this issue once we decide if we have to put or not more info on README for Linux users

caiogondim avatar Oct 20 '16 17:10 caiogondim

No further update. Should we close?

dawikur avatar Jan 02 '17 17:01 dawikur

Give me 2 more days on this. I'll make sure I test that my changes are necessary for a fresh install of Ubuntu.

-- Sincerely, James Hounshell Apprentice Software Developer MAXX Potential Email/Gchat: [email protected] Cell: 540-550-0210

On Mon, Jan 2, 2017 at 12:28 PM, Dawid Kurek [email protected] wrote:

No further update. Should we close?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/caiogondim/bullet-train-oh-my-zsh-theme/issues/171#issuecomment-269999625, or mute the thread https://github.com/notifications/unsubscribe-auth/ALe1JHmraNSvbJL2ui9RmClXirbPwK9zks5rOTPYgaJpZM4KbbNO .

IshtarGate avatar Jan 03 '17 15:01 IshtarGate

Sure 👍

dawikur avatar Jan 03 '17 18:01 dawikur

I have confirmed that sudo apt install powerline does make for the easiest install of bullet train. I was able to install in no time. This removes the requirements (for linux users):

  • Powerline compatible fonts like Vim Powerline patched fonts, Input Mono or Monoid.
  • On Ubuntu like systems you'll need the ttf-ancient-fonts package to correctly display some unicode symbols that are not covered by the Powerline fonts above.

I might also recommend using a symlink from bullet-train.zsh-theme to the zsh custom themes folder, to make sure that a pull of the bullet-train repo automatically updates the theme. (i.e ln -s ~/path/to/bullet-train-oh-my-zsh-theme/bullet-train.zsh-theme ~/.oh-my-zsh/themes/bullet-train.zsh-theme)

Thank you for your time and thank your for your patience.

IshtarGate avatar Feb 01 '17 15:02 IshtarGate

I am user @IshtarGate. Just checking in on this. I realized that it's my bad that I never made a pull request for this fix.

@caiogondim I will make a pull request for this issue. I should check if my fix works on Arch and Fedora as well.

jameshounshell avatar May 14 '17 16:05 jameshounshell