Powerline: How add segment?

Created on 5 Aug 2013  路  6Comments  路  Source: powerline/powerline

Hi all!
Documentation don't explain how enable segments in config file. Can you show example?

documentation wontfix enhancement

Most helpful comment

Can we have a worked example? I am really really not getting it.

All 6 comments

ok, i see. But segments in tmux does not work, i see only tabs.
I use mac, python module "powerline" are install in python path and accessible. But if prompt "powerline" in shell, raise "command not found"

Ok, i am add to PATH folder script from repo, now i try enable powerline on shell, runing "binding/bash/powerline.sh" and get exeption

Traceback (most recent call last):
    File "/Users/pk/.powerline/powerline/scripts/powerline", line 24, in <module>
      segment_info=segment_info,
    File "/Users/pk/Library/Python/2.7/lib/python/site-packages/powerline/__init__.py", line 371, in render
      self.update_renderer()
    File "/Users/pk/Library/Python/2.7/lib/python/site-packages/powerline/__init__.py", line 363, in update_renderer
      self.pl.exception('Failed to create renderer: {0}', str(e))
AttributeError: 'NoneType' object has no attribute 'exception'

Might not be the same underlying problem, but I'm having the same issue.

I've followed the guide and I can add and remove segments just fine for vim, but tmux does not change no matter what I do. I only get the tabs on the bottom.

It seems that existing documentation is already enough and adding segments by copy-pasting is trivial even if it was not enough. Since other mentioned problems have nothing to do with the original post I am closing the issue.

Can we have a worked example? I am really really not getting it.

Duplicate of issue #106.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

golfdish picture golfdish  路  3Comments

uD4ra picture uD4ra  路  5Comments

sachevl picture sachevl  路  3Comments

pklebba picture pklebba  路  5Comments

lastobelus picture lastobelus  路  7Comments