From c2bd1d850cea1f55862ad2a78424dfad53945d72 Mon Sep 17 00:00:00 2001 From: Daniel Holman Date: Sun, 21 Oct 2018 13:47:34 -0500 Subject: Disabled vim-modeline in zsh powerline --- .config/powerline/themes/shell/default.json | 40 +++++++++++++++++++++++++++++ .tmux.conf | 2 ++ 2 files changed, 42 insertions(+) create mode 100644 .config/powerline/themes/shell/default.json diff --git a/.config/powerline/themes/shell/default.json b/.config/powerline/themes/shell/default.json new file mode 100644 index 0000000..16d8b9c --- /dev/null +++ b/.config/powerline/themes/shell/default.json @@ -0,0 +1,40 @@ +{ + "segments": { + "left": [ + { + "function": "powerline.segments.common.net.hostname", + "priority": 10 + }, + { + "function": "powerline.segments.common.env.user", + "priority": 30 + }, + { + "function": "powerline.segments.common.env.virtualenv", + "priority": 50 + }, + { + "function": "powerline.segments.shell.cwd", + "priority": 10 + }, + { + "function": "powerline.segments.shell.jobnum", + "priority": 20 + } + ], + "right": [ + { + "function": "powerline.segments.shell.last_pipe_status", + "priority": 10 + }, + { + "function": "powerline.segments.common.vcs.stash", + "priority": 50 + }, + { + "function": "powerline.segments.common.vcs.branch", + "priority": 40 + } + ] + } +} diff --git a/.tmux.conf b/.tmux.conf index 5e82cbf..71897c6 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -1,3 +1,5 @@ set -g default-terminal "tmux-256color" set -g terminal-overrides ",xterm-termite:Tc" set -g mouse on + +source /usr/lib/python3.7/site-packages/powerline/bindings/tmux/powerline.conf -- cgit v1.2.3