Skip to content
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

How add segment? #620

Closed
kataev opened this issue Aug 5, 2013 · 6 comments
Closed

How add segment? #620

kataev opened this issue Aug 5, 2013 · 6 comments

Comments

@kataev
Copy link

kataev commented Aug 5, 2013

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

@t3chnoboy
Copy link

@kataev
Copy link
Author

kataev commented Aug 5, 2013

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'

@ViViDboarder
Copy link

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.

@ZyX-I
Copy link
Contributor

ZyX-I commented Aug 22, 2014

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.

@ZyX-I ZyX-I closed this as completed Aug 22, 2014
@VoltairesPuppet
Copy link

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

@ghost
Copy link

ghost commented Sep 26, 2018

Duplicate of issue #106.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants