From 85d5015a1d68e73ce7340af012662d4d7e4a002e Mon Sep 17 00:00:00 2001 From: Jean-Marie RENOUARD Date: Mon, 3 May 2021 10:12:00 +0000 Subject: [PATCH] some aliases --- build/bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/bashrc b/build/bashrc index 1cb17e3..7f25643 100644 --- a/build/bashrc +++ b/build/bashrc @@ -19,9 +19,10 @@ alias grs='git reset --soft HEAD~1' alias grh='git reset --hard HEAD~1' alias serve="python -m $(python -c 'import sys; print("http.server" if sys.version_info[:2] > (2,7) else "SimpleHTTPServer")')" + gunt() { git status | \ - grep -vE '( to publish your local commits|git add|git restore|On branch|Your branch|Untracked files|nclude in what will b|but untracked files present|no changes added to commit|modified:|deleted:|Changes not staged for commit)' |\ + grep -vE '(Changes to be committed:| to publish your local commits|git add|git restore|On branch|Your branch|Untracked files|nclude in what will b|but untracked files present|no changes added to commit|modified:|deleted:|Changes not staged for commit)' |\ sort | uniq | \ xargs -n 1 $* }