From: Ben Beltran Date: Fri, 19 Oct 2012 20:48:25 +0000 (-0500) Subject: Modify my tmux conf X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/ee6d2b11353c28d428b287752c0079f5ec407061?ds=sidebyside Modify my tmux conf --- diff --git a/tmux.conf b/tmux.conf index 8919cad..02772c0 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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 diff --git a/zshrc b/zshrc index 828d9f9..85e83ef 100644 --- a/zshrc +++ b/zshrc @@ -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"