diff --git a/default/home/.sapphrc/default b/default/home/.sapphrc/default index ed1a16d..4b223bc 100755 --- a/default/home/.sapphrc/default +++ b/default/home/.sapphrc/default @@ -38,6 +38,21 @@ alias adb_root="adb shell -t exec run-as com.termux files/usr/bin/bash -c 'su -' alias dfh="df -h | grep -v 'tmpfs'" #dev environment toolbox with proper term env var alias devbox="TERM=xterm-256color toolbox enter debian-sid-dev" +#git shortcut to quickly push all changes with comment +pushall() { + git add . + git commit -m "${1}" + git push origin + bool_tag="y" + read -p "tag as well? (Y/n)" bool_tag + case "${bool_tag}" in + [yY]|[yY][eE][sS]) + read -p "Tag version: " ver_tag + git tag -a "${ver_tag}" + git push origin "${ver_tag}" + ;; + esac +} #User Env Vars export DEBEMAIL="support@pogmom.me"