#!/bin/bash COMMIT_MSG=$(gum input --placeholder "Commit message...") if [ -z "$COMMIT_MSG"]; then echo "Commit cancelled..." exit 1 fi git add -A gitmoji commit BRANCH=$(git name-rev --name-only HEAD) gum confirm "Push?" && git push origin $BRANCH