powerline-hs icon indicating copy to clipboard operation
powerline-hs copied to clipboard

doesn't work for me, normal powerline works fine

Open potjesoep opened this issue 9 years ago • 7 comments

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

potjesoep avatar Nov 03 '16 18:11 potjesoep

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?

rdnetto avatar Nov 06 '16 04:11 rdnetto

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

potjesoep avatar Nov 06 '16 10:11 potjesoep

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)?

rdnetto avatar Nov 06 '16 11:11 rdnetto

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

and i have no idea where the config files could be

potjesoep avatar Nov 06 '16 11:11 potjesoep

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 avatar Nov 06 '16 11:11 rdnetto

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

rdnetto avatar Nov 07 '16 11:11 rdnetto

will do that immediately when i get home

potjesoep avatar Nov 07 '16 11:11 potjesoep