From e6596e01bfde7b946c06842e0b2709c602a94f22 Mon Sep 17 00:00:00 2001 From: "Christophe Buffenoir (@pokkuru)" Date: Thu, 19 May 2016 11:29:22 +0200 Subject: [PATCH 1/3] Update tmux conf --- common/.tmux-theme | 1 - common/.tmux.conf | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/common/.tmux-theme b/common/.tmux-theme index 52f8d05..babeddc 100644 --- a/common/.tmux-theme +++ b/common/.tmux-theme @@ -13,7 +13,6 @@ set -g status-right-attr "none" set -g message-fg "colour2" set -g message-command-bg "black" set -g status-attr "none" -set -g status-utf8 "on" set -g pane-border-fg "black" set -g status-left-attr "none" setw -g window-status-fg "colour2" diff --git a/common/.tmux.conf b/common/.tmux.conf index 0de3b7b..231d7f7 100644 --- a/common/.tmux.conf +++ b/common/.tmux.conf @@ -10,12 +10,9 @@ set -g visual-activity off set -g visual-bell off #set -g mouse-mode on -set -g mouse-select-window on -set -g mouse-select-pane on -set -g mouse-resize-pane on - set -g history-limit 1000 +set -g lock-after-time 300 # THEME @@ -26,5 +23,4 @@ set -g history-limit 1000 #set -g status-left '#[fg=green][#[fg=brightblue]#(whoami)#[fg=white]@#[fg=brightblue]#H#[fg=white]:#[fg=brightblue]#S#[fg=green]][#[default]' #set -g status-right '#[fg=green]][#[fg=blue]%d/%m #[fg=brightblue]%H:%M#[fg=green]]#[default]' -#source-file ~/.local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf source-file ~/.tmux-theme From e4b16afd00b6aeb364e80a20e9e1f49ca882defb Mon Sep 17 00:00:00 2001 From: "Christophe Buffenoir (@pokkuru)" Date: Wed, 1 Jun 2016 10:59:33 +0200 Subject: [PATCH 2/3] Add fortune --- common/.zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/.zshrc b/common/.zshrc index 70b7bd2..f98fdc4 100644 --- a/common/.zshrc +++ b/common/.zshrc @@ -144,3 +144,5 @@ alias vmanen='man -P "espeak -v mb/mb-en1 -p30 -s 150"' alias vman=vmanen eval $(thefuck --alias) + +fortune discworld From 932710d15517817827c206755d0e0bedf99a50eb Mon Sep 17 00:00:00 2001 From: "Christophe Buffenoir (@pokkuru)" Date: Wed, 1 Jun 2016 11:16:39 +0200 Subject: [PATCH 3/3] Remove obsolete parts --- common/.zshrc | 2 +- update-home.sh | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/common/.zshrc b/common/.zshrc index f98fdc4..6332f39 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/python3.?/site-packages/powerline/bindings/zsh/powerline.zsh +. /usr/lib/python3.?/site-packages/powerline/bindings/zsh/powerline.zsh #. ~/.shell_prompt.sh alias gitst="git status | more" diff --git a/update-home.sh b/update-home.sh index 4bb729b..3054ffc 100755 --- a/update-home.sh +++ b/update-home.sh @@ -17,17 +17,6 @@ git clone git://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/cu touch ~/.zshrc-local - -pip3 install --upgrade --user jedi -pip3 install --upgrade --user vdirsyncer -pip3 install --upgrade --user khal -pip3 install --upgrade --user git+git://github.com/Lokaltog/powerline -pip 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 - - # Copy the japanese part if needed if [ "$1" == '--jp' ] then