From 6b526e9df0a11007abb77713850f07e26aecfdc5 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 2 Jul 2024 00:14:19 +0200 Subject: checkpoint --- config/essentials/shell/functions.sh | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/config/essentials/shell/functions.sh b/config/essentials/shell/functions.sh index 18d75ec..464126b 100644 --- a/config/essentials/shell/functions.sh +++ b/config/essentials/shell/functions.sh @@ -121,26 +121,6 @@ unzipp() { rm -- "$1" } -# git -sgd() { - d="$PWD" - find $HOME/src -maxdepth 1 -mindepth 1 -type d | - while read -r dir - do - cd "$dir" - git status > /dev/null 2>&1 || continue - git fetch > /dev/null 2>&1 - printf "$PWD" - test "$(git status --short 2>/dev/null | grep -v "??" | head -1)" && - printf " \e[1;31m*changes\e[0m" | sed "s#$HOME#~#" >&2 - test "$(parse_git_remote)" && - printf " \e[0;32m*push/pull\e[0m" | sed "s#$HOME#~#" >&2 - printf "\n" - done - cd "$d" - unset d -} - # fix long waiting time __git_files() { _wanted files expl 'local files' _files; } -- cgit v1.2.3