|
@@ -92,6 +92,28 @@ pb () {
|
|
curl -F "file=@-" http://chate.io:669
|
|
curl -F "file=@-" http://chate.io:669
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ckgit () {
|
|
|
|
+ if [ ! -z $1 ]; then
|
|
|
|
+ DIR=$1
|
|
|
|
+ else
|
|
|
|
+ DIR="$HOME/Repos"
|
|
|
|
+ fi
|
|
|
|
+
|
|
|
|
+ GIT_PATH=$(which git);
|
|
|
|
+
|
|
|
|
+ for dirp in $($EXA_PATH -d $DIR/*/); do
|
|
|
|
+ if [[ -d "$dirp/.git" ]]; then
|
|
|
|
+ RET=$($GIT_PATH -C $dirp status --porcelain)
|
|
|
|
+ if [[ ! -z "$RET" ]]; then
|
|
|
|
+ echo "* $dirp"
|
|
|
|
+ echo "$RET"
|
|
|
|
+ echo ""
|
|
|
|
+ fi
|
|
|
|
+ fi
|
|
|
|
+ done
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+
|
|
# For use with emacs vterm
|
|
# For use with emacs vterm
|
|
# See: https://github.com/akermu/emacs-libvterm
|
|
# See: https://github.com/akermu/emacs-libvterm
|
|
vterm_printf(){
|
|
vterm_printf(){
|