aboutsummaryrefslogtreecommitdiffstats
path: root/tmux
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2021-10-31 01:44:00 +0000
committerterminaldweller <thabogre@gmail.com>2021-10-31 01:44:00 +0000
commit965a52ac2b20d0177719c86dc2a1d18903e9a017 (patch)
tree0ffdac57d934b761ec9230b5368cdf289d3fdd62 /tmux
parentopewrt,haproxy,nginx,ejabberd,.... (diff)
downloadscripts-965a52ac2b20d0177719c86dc2a1d18903e9a017.tar.gz
scripts-965a52ac2b20d0177719c86dc2a1d18903e9a017.zip
updates
Diffstat (limited to 'tmux')
-rwxr-xr-xtmux/vcs_info.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/tmux/vcs_info.sh b/tmux/vcs_info.sh
index ffe174a..f964104 100755
--- a/tmux/vcs_info.sh
+++ b/tmux/vcs_info.sh
@@ -61,7 +61,8 @@ function repo_info {
git rev-parse --git-dir > /dev/null 2>&1
if [[ $? == 0 ]]; then
insertions=$(git --no-pager diff --numstat | awk '{sum1+=$1}END{print sum1}')
- echo  
+ # echo  
+ echo 
else
:
fi
@@ -74,4 +75,8 @@ deletions_info="#[fg=colour255 bg=colour1]"$(gitdeletions)
additions__info="#[fg=colour255 bg=colour22]"$(gitadditions)
# echo "#[fg=colour255 bg=colour29]$shortened_path #[fg=colour29 bg=colour26]$SEPARATOR_RIGHT_BOLD#[fg=colour255 bg=colour26]$tmux_session_info #[fg=colour26 bg=colour39]$SEPARATOR_RIGHT_BOLD $branch_info #[fg=colour39 bg=colour22]$SEPARATOR_RIGHT_BOLD $additions__info #[fg=colour22 bg=colour1]$SEPARATOR_RIGHT_BOLD $deletions_info #[fg=colour1 bg=colour244]$SEPARATOR_RIGHT_BOLD $untracked_info #[fg=colour244 bg=colour16]$SEPARATOR_RIGHT_BOLD"
-echo "#[fg=colour255 bg=colour26]$tmux_session_info #[fg=colour26 bg=colour39]$SEPARATOR_RIGHT_BOLD $branch_info #[fg=colour39 bg=colour22]$SEPARATOR_RIGHT_BOLD $additions__info #[fg=colour22 bg=colour1]$SEPARATOR_RIGHT_BOLD $deletions_info #[fg=colour1 bg=colour244]$SEPARATOR_RIGHT_BOLD $untracked_info #[fg=colour244 bg=colour16]$SEPARATOR_RIGHT_BOLD"
+echo "#[fg=colour255 bg=colour26]$tmux_session_info #[fg=colour26 bg=colour39]$SEPARATOR_RIGHT_BOLD \
+$branch_info #[fg=colour39 bg=colour22]$SEPARATOR_RIGHT_BOLD \
+$additions__info #[fg=colour22 bg=colour1]$SEPARATOR_RIGHT_BOLD \
+$deletions_info #[fg=colour1 bg=colour244]$SEPARATOR_RIGHT_BOLD \
+$untracked_info #[fg=colour244 bg=colour16]$SEPARATOR_RIGHT_BOLD"