scripts

My personal collection of scripts
git clone git://src.gearsix.net/scripts
Log | Files | Refs | Atom | README | LICENSE

commit efa32533303d75772b03c9ac58fc17acfde9debc
parent b0bd82f4dbb0117b911718db13bcd752f583e867
Author: GeaRSiX <gearsix@tuta.io>
Date:   Wed,  1 Jul 2020 22:18:40 +0100

added git-tmux

Diffstat:
Asrc/git-tmux.sh | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/git-tmux.sh b/src/git-tmux.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# git-tmux +# description: a tmux window i find myself creating often for git repositores, decided to throw it into a script +# dependencies: tmux, git, while-true + +tmux new-session -d +tmux split-window -h "while-true 'git --no-pager branch -v'" +tmux split-window -v "while-true 'git status'" +tmux split-window -h "while-true 'git --no-pager log --graph --abbrev-commit -n 1'" +tmux select-layout main-vertical +tmux -2 attach-session -d