rdnetto / powerline-hs

A lightning fast reimplementation of the Powerline prompt generator in Haskell.
Apache License 2.0
117 stars 7 forks source link

doesn't work for me, normal powerline works fine #1

Open NekoNoor opened 7 years ago

NekoNoor commented 7 years ago

i get this:

option --renderer-arg: 'default_mode=' does not have format 'key=value'.

Usage: powerline-hs [-r|--renderer-module MODULE] [--renderer-arg ARG=VALUE] [-w|--width WIDTH] [--last-exit-code INT] [--last-pipe-status LIST] [--jobnum INT] [-d|--debug SEGMENT] EXT SIDE Powerline clone - generates shell prompts and statuslines. option --renderer-arg: 'default_mode=' does not have format 'key=value'.

Usage: powerline-hs [-r|--renderer-module MODULE] [--renderer-arg ARG=VALUE] [-w|--width WIDTH] [--last-exit-code INT] [--last-pipe-status LIST] [--jobnum INT] [-d|--debug SEGMENT] EXT SIDE Powerline clone - generates shell prompts and statuslines. ExitFailure 1 ExitFailure 1

this is in my .zshrc:

# Powerline POWERLINE_COMMAND=$HOME/.local/bin/powerline-hs POWERLINE_CONFIG_COMMAND=/bin/true source /usr/lib/python3.5/site-packages/powerline/bindings/zsh/powerline.zsh

i have this installed:

community/powerline 2.5-1 community/powerline-common 2.5-1 community/powerline-fonts 2.5-1 community/python-powerline 2.5-1

arch linux with zsh. normal powerline works fine

rdnetto commented 7 years ago

I've pushed a commit that should fix this to the branch handle_empty_renderer_arg. Would you mind cloning it and seeing if this fixes it?

NekoNoor commented 7 years ago

i now get this:

/home/creeperlwd/.config/powerline/config.json: openBinaryFile: does not exist (No such file or directory)

i don't know why my cfg isn't there, and i have no idea where it is

rdnetto commented 7 years ago

Does ~/.config/powerline exist? If so, could you post the output of find ~/.config/powerline, and if not, do you have any user-specific config files (and if so, where)?

NekoNoor commented 7 years ago

find ~/.config/powerline
find: ‘/home/creeperlwd/.config/powerline’: No such file or directory

and i have no idea where the config files could be

rdnetto commented 7 years ago

In that case, it must be using just the defaults, with no user-specific config. I'll push a patch to fix that tomorrow, since it's getting late here (Aus).

rdnetto commented 7 years ago

I've pushed a fix to master, as well as merging the previous fix in. See if it does the trick.

NekoNoor commented 7 years ago

will do that immediately when i get home