From 88a0bd9908ab7c6360b0e9eb49fc86b464f6adb0 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Tue, 10 Jun 2014 20:03:43 -0500 Subject: [PATCH] powerline zsh script now looked for --- xinitrc.nixos | 0 zshrc | 5 +---- 2 files changed, 1 insertion(+), 4 deletions(-) mode change 100644 => 100755 xinitrc.nixos 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