Powerline + zsh

New to Debian (Or Linux in general)? Ask your questions here!

Powerline + zsh

Postby pawRoot » 2018-01-13 15:51

Hi

I am trying to configure powerline with zsh/bash.

https://packages.debian.org/stretch/powerline

I have found something like that (for ~/.bashrc):

Code: Select all
if [ -f `which powerline-daemon` ]; then
  powerline-daemon -q
  POWERLINE_BASH_CONTINUATION=1
  POWERLINE_BASH_SELECT=1
  . /usr/share/powerline/bash/powerline.sh
fi


But on my system there is no bash folder in /usr/share/powerline/, there is bash folder at /usr/share/powerline/bindings/bash with powerline.sh inside it, but im not sure if thats the file and i dont want to break anything.

Any ideas?
User avatar
pawRoot
 
Posts: 491
Joined: 2016-12-28 18:26
Location: Poland

Re: Powerline + zsh

Postby pawRoot » 2018-01-13 16:47

Git it to work by adding this to .bashrc

Code: Select all
if [ -f `which powerline-daemon` ]; then
  powerline-daemon -q
  POWERLINE_BASH_CONTINUATION=1
  POWERLINE_BASH_SELECT=1
  . /usr/share/powerline/bindings/bash/powerline.sh
fi


But it doesn't output properly, looks like some fonts are missing, even though i have fonts-powerline package installed.
User avatar
pawRoot
 
Posts: 491
Joined: 2016-12-28 18:26
Location: Poland

Re: Powerline + zsh

Postby debiman » 2018-01-14 10:07

pawRoot wrote:But it doesn't output properly, looks like some fonts are missing, even though i have fonts-powerline package installed.
did you select one of the fonts?
just installing them is not enough...
User avatar
debiman
 
Posts: 2126
Joined: 2013-03-12 07:18

Re: Powerline + zsh

Postby pawRoot » 2018-01-14 10:11

I don't really know how.
And yes i checked whole documentation
User avatar
pawRoot
 
Posts: 491
Joined: 2016-12-28 18:26
Location: Poland


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable