commit 591b22d9a3e8f7693656ebfec045dbf973ef7302 parent 3ac87f7e3628f3ad229f0ad79a404045d8131441 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Fri, 12 Apr 2019 21:37:45 +0200 Fixed global-git-status Former-commit-id: 41036c2441b9886d9b9203ac190cf12db7e6c56b Diffstat:
M | scripts/global-git-status | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/global-git-status b/scripts/global-git-status @@ -23,7 +23,7 @@ pid=$! trap cleanup INT echo "Looking for git repositories..." logfile="$(mktemp)" -gits=$(find "$HOME" -name ".git" -not -path "*vim*plugged*") +gits=$(find "$HOME" -name ".git" -not -path "*vim*plugged*" 2>/dev/null) kill $pid &> /dev/null trap - INT @@ -41,6 +41,6 @@ for i in ${gits[@]}; do hr >> $logfile; done echo -vim $logfile -c "g/nothing to commit, working tree clean/norm V?git: ddd" -c "let @d=\"?^git: V/# d\"" -c "w|1" +vim $logfile -c "let @d=\"j?^git: V/# d\"" -c "w|1" --cmd "echo 'Execute register D to remove a status report.'" unset IFS clear \ No newline at end of file