diff options
| -rw-r--r-- | tmux.conf | 27 | ||||
| -rw-r--r-- | zshrc | 1 |
2 files changed, 21 insertions, 7 deletions
@@ -15,13 +15,26 @@ bind | split-window -h bind - split-window -v #Customize the status bars. -set -g status-bg cyan -set -g status-fg white -set -g status-left-length 24 -set -g status-left '#[fg=black]#[bg=white]#H-#S' -set-window-option -g window-status-current-bg red -set -g status-right '#[fg=black]#[bg=white]#(uptime)' -set -g status-right-length 70 +# set -g status-bg cyan +# set -g status-fg white +# set -g status-left-length 24 +# set -g status-left '#[fg=black]#[bg=white]#H-#S' +# set-window-option -g window-status-current-bg red +# set -g status-right '#[fg=black]#[bg=white]#(uptime)' +# set -g status-right-length 70 + +# powerline tmux +set-option -g status on +set-option -g status-bg colour12 +set-option -g status-fg colour7 +set-window-option -g window-status-current-bg colour9 +set-option -g status-interval 2 +set-option -g status-utf8 on +set-option -g status-justify "centre" +set-option -g status-left-length 60 +set-option -g status-right-length 90 +set-option -g status-left "#(~/.dotfiles/tmux-powerline/status-left.sh)" +set-option -g status-right "#(~/.dotfiles/tmux-powerline/status-right.sh)" #Set Activity monitoring. setw -g monitor-activity on @@ -37,6 +37,7 @@ export JAVA_HOME=$(/usr/libexec/java_home) export PATH=/usr/local/bin:/usr/local/sbin:$PATH export NODE_PATH=/usr/local/lib/node_modules:$NODE_PATH export PYTONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH +export PS1="$PS1"'$([ -n "$TMUX" ] && tmux setenv TMUXPWD_$(tmux display -p "#I_#P") "$PWD")' #Editor. export EDITOR="vim" |