summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-28 23:55:25 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-03-28 23:55:25 +0200
commit8a694f77e98da3db6f83c6fd9b0eb541b311f8d7 (patch)
treef96a724effdac2e689bbc1f7c789ac2e631ee622
parent350a728d1127bea8e51b4e9f00d3c9f078cfd3cc (diff)
added colored output and remote info on srcgd
-rw-r--r--config/essentials/zsh/aliases.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/essentials/zsh/aliases.zsh b/config/essentials/zsh/aliases.zsh
index 9b8ef3d..3861467 100644
--- a/config/essentials/zsh/aliases.zsh
+++ b/config/essentials/zsh/aliases.zsh
@@ -94,9 +94,9 @@ alias srcgd='
for dir in ~/src/*
do
cd $dir
- test "$(git status --short 2>/dev/null | grep -v "^??")" && pwd
-done
-'
+ test "$(git status --short 2>/dev/null | head -1)" && echo "$PWD \e[1;31m*changes\e[0m"
+ test "$(parse_git_remote)" && echo "$PWD \e[0;32m*push/pull\e[0m" ;
+done'
# Python
alias penv='python -m venv env'