Powerline: integer: command not found

Created on 3 Oct 2015  路  3Comments  路  Source: powerline/powerline

Cannot integrate into zsh on OS X due to the following error

/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh: line 21: integer: command not found
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh: line 29: syntax error near unexpected token `_powerline_tmux_setenv'
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh: line 29: `       function -g _powerline_tmux_setenv() {'
cshell macos bug

Most helpful comment

@catbaron- thank you. The problem was caused by missing dot. After I had some issues, because the line was not before source. The following config worked for me.

powerline-daemon -q
 . /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh

source $ZSH/oh-my-zsh.sh

All 3 comments

I met the same error for the reason that I missed the "." when I add
. /dir/to/powerilne//powerline/bindings/zsh/powerline.zsh
to my .zshrc file.
But new errors after I fixed this mistake. So I have turned to another powerline tool and good luck to you.

I am wondering what is your zsh version. I have never seen zsh without integer built-in.

@catbaron- thank you. The problem was caused by missing dot. After I had some issues, because the line was not before source. The following config worked for me.

powerline-daemon -q
 . /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh

source $ZSH/oh-my-zsh.sh
Was this page helpful?
0 / 5 - 0 ratings