From 476071ef8e3b03fc457f3f56a4d5a11716b961b1 Mon Sep 17 00:00:00 2001 From: Christophe Buffenoir Date: Tue, 25 Nov 2014 13:12:37 +0100 Subject: [PATCH] Update powerline to python3 --- common/.vimrc | 2 +- common/.zshrc | 2 +- update-home.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/.vimrc b/common/.vimrc index 92b0dc4..1fab069 100644 --- a/common/.vimrc +++ b/common/.vimrc @@ -213,7 +213,7 @@ map :1;$ s/[\r \t]\+$// ""Supprimer les ^M dans vos fichiers avec la touche w map :1;$ s/\r//g -set rtp+=~/.local/lib/python2.7/site-packages/powerline/bindings/vim +set rtp+=~/.local/lib/python3.4/site-packages/powerline/bindings/vim set laststatus=2 " Always display the statusline in all windows "set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline) diff --git a/common/.zshrc b/common/.zshrc index 500db80..c0b7417 100644 --- a/common/.zshrc +++ b/common/.zshrc @@ -93,7 +93,7 @@ function cd() { # Customize to your needs... export PATH=$PATH:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:~/.local/bin -. ~/.local/lib/python2.7/site-packages/powerline/bindings/zsh/powerline.zsh +. ~/.local/lib/python3.4/site-packages/powerline/bindings/zsh/powerline.zsh ssc() { ssh -XC -p ${3:-"22"} -t ${2:-`whoami`}@$1 ${argv[4,-1]} } diff --git a/update-home.sh b/update-home.sh index 1000559..492acc3 100755 --- a/update-home.sh +++ b/update-home.sh @@ -18,8 +18,8 @@ git clone git://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/cu touch ~/.zshrc-local -pip install --upgrade --user jedi -pip install --upgrade --user git+git://github.com/Lokaltog/powerline +pip3 install --upgrade --user jedi +pip3 install --upgrade --user git+git://github.com/Lokaltog/powerline pip install --upgrade --user pyCardDav mkdir -p ~/.config/pycard curl https://raw.github.com/geier/pycarddav/master/pycard.conf.sample > ~/.config/pycard/pycard.conf.sample