diff --git a/xinitrc.nixos b/xinitrc.nixos old mode 100644 new mode 100755 diff --git a/zshrc b/zshrc index f7395e6..4b508a1 100644 --- a/zshrc +++ b/zshrc @@ -1,8 +1,5 @@ # Powerline -# Mac -[[ -s /usr/local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh ]] && . /usr/local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh -# Linux -[[ -s /usr/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh ]] && . /usr/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh +source $(find -L ~ -name "powerline.zsh" | head -n 1) bindkey -e