dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit f68fc055a2a4f1d630b1d9d8628182fe9350aba9
parent 588f15b87ea01b33767b107230a84bc1d51b0154
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Wed, 11 Jul 2018 16:08:25 +0200

Move static info from prompt to tmux pane

Diffstat:
Mtmux.conf | 6+++---
Mzsh/zshrc | 2+-
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tmux.conf b/tmux.conf @@ -45,7 +45,7 @@ set -g visual-activity on # show host name and IP address on left side of status bar set -g status-left-length 70 -set -g status-left "#[fg=green]:::: #[fg=white]#(whoami)@#h #[fg=green]:: #[fg=white]s #S #[fg=green]:: #[fg=white]w #I:#P**#{pane_current_command}** #[fg=green]:: " +set -g status-left "#[fg=green]:::: #[fg=white]#(whoami)@#h #[fg=green]:: #[fg=white]#{b:pane_current_path} #[fg=green]::" # show current uptime, user number, session name, window & pane number, date and time on right side of status bar # --> sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//' <-- removes all leading and closing whitespaces of a string @@ -54,8 +54,8 @@ set -g status-right "#[fg=green]:: #[fg=white]uptime #(uptime | cut -d' ' -f3-5 # set the window info in the middle of the status bar set -g status-justify centre -setw -g window-status-format "#I:#W" -setw -g window-status-current-format "#I:#W" +setw -g window-status-format "#[fg=green]:: #[fg=white]s #S #[fg=green]:: #[fg=white]w #I:#P**#{pane_current_command}** #[fg=green]::" +setw -g window-status-current-format "#[fg=green]:: #[fg=white]s #S #[fg=green]:: #[fg=white]w #I:#P**#{pane_current_command}** #[fg=green]::" setw -g window-status-current-bg colour235 setw -g window-status-current-fg white diff --git a/zsh/zshrc b/zsh/zshrc @@ -73,7 +73,7 @@ colors ###################### # set prompt -PROMPT='%B[%b%n@%m %1~%B]%b%# %E' +PROMPT='%b%# %E' # Print greeting message echo $(uname -srm)